CVE-2021-43788
MEDIUM 5.0CVSS 3.1NodeBB vulnerable to path traversal in translator module
Nodebb is an open source Node.js based forum software. Prior to v1.18.5, a path traversal vulnerability was present that allowed users to access JSON files outside of the expected languages/ directory. The vulnerability has been patched as of v1.18.5. Users are advised to upgrade as soon as possible.
- Published
- 29 Nov 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-pfj7-2qfw-vwgm
- Sources
- NVDJSONOSV GHSA-pfj7-2qfw-vwgmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodebb | nodebbcpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:* |
>= 1.0.4, <= 1.18.4 | |
| OSV | npm | nodebb | >= 1.0.4, < 1.18.5 | 1.18.5 |
References
- https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/ · Exploit, Third Party Advisory, WEB
- https://github.com/NodeBB/NodeBB/commit/c8b2fc46dc698db687379106b3f01c71b80f495f · Patch, Third Party Advisory, WEB
- https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5 · Release Notes, Third Party Advisory, WEB
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-pfj7-2qfw-vwgm · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43788 · ADVISORY
- https://github.com/NodeBB/NodeBB · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Nov 2021)