CVE-2021-43787 json
XSS via prototype pollution
published 2021-11-29 4 y ago modified 2026-07-08 4 mo ago also GHSA-wx69-rvg3-x7fc , EUVD-2021-2408
- cvss
- 9.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm nodebb 1.18.5
Exploit prediction
1.32% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- blog.sonarsource.com https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | nodebb | >=1.15.0, <1.18.5 |
1.18.5 |
Affected products
- NodeBB NodeBB
Classification
References
-
github.com
/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c
web, patch, third-party-advisory
-
github.com
/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc
web, patch, third-party-advisory
-
github.com
/NodeBB/NodeBB/releases/tag/v1.18.5
web, patch, release-notes, third-party-advisory
-
blog.sonarsource.com
/nodebb-remote-code-execution-with-one-shot/
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43787
advisory
-
blog.sonarsource.com
/nodebb-remote-code-execution-with-one-shot
web
-
github.com
/NodeBB/NodeBB
package
Sources
- CVE List CVE-2021-43787
- GitHub Advisory GHSA-wx69-rvg3-x7fc
- NVD CVE-2021-43787
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.