Advisory

GHSA-pfj7-2qfw-vwgm

Also known as: CVE-2021-43788

Summary

NodeBB vulnerable to path traversal in translator module

Details

Impact
Prior to v1.18.5, a path traversal vulnerability was present that allowed users to access JSON files outside of the expected languages/ directory.

Patches
The vulnerability has been patched as of v1.18.5.

Workarounds
Cherry-pick commit hash c8b2fc46dc698db687379106b3f01c71b80f495f to receive this patch in lieu of a full upgrade.

For more information
If you have any questions or comments about this advisory:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-11-30 22:20 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

nodebb

npm · All systems

Affected

  • introduced 1.0.4, fixed 1.18.5 (semver)

Fixed versions

1.18.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences