CVE-2021-43787
MEDIUM 6.1CVSS 3.1XSS via prototype pollution in NodeBB
Nodebb is an open source Node.js based forum software. In affected versions a prototype pollution vulnerability in the uploader module allowed a malicious user to inject arbitrary data (i.e. javascript) into the DOM, theoretically allowing for an account takeover when used in conjunction with a path traversal vulnerability disclosed at the same time as this report. 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-79
- Also known as
- GHSA-wx69-rvg3-x7fc
- Sources
- NVDJSONOSV GHSA-wx69-rvg3-x7fcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodebb | nodebbcpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:* |
>= 1.15.5, <= 1.18.4 | |
| OSV | npm | nodebb | >= 1.15.0, < 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/1783f918bc19568f421473824461ff2ed7755e4c · Patch, Third Party Advisory, WEB
- https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5 · Patch, Release Notes, Third Party Advisory, WEB
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43787 · 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)