CVE-2021-43787: Nodebb - Prototype Pollution
- Cve: CVE-2021-43787
- Name: Nodebb - Prototype Pollution
- Description: 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.
- Impact: Attackers can inject malicious scripts into the DOM, potentially leading to account takeover or cross-site scripting attacks.
- Remediation: Upgrade to version 1.18.5 or later.
- Vulnerability type: prototype_pollution
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs access to uploader functionality
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01317
- Epss percentile: 0.71543
- Assignee: [email protected]
- Published at: 2021-11-29T20:15:08Z
- Age in days: 1821
- Modified at: 2026-06-17T04:11:26Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43787
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/ | nvd | 2021-11-29 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c | Patch, Third Party Advisory |
| https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5 | Patch, Release Notes, Third Party Advisory |
| https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc | Patch, Third Party Advisory |
| https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/ | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nodebb:nodebb | >= 1.15.5, <= 1.18.4 | no | nvd | /v1/products/nodebb/nodebb |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| NodeBB/NodeBB | commit, fix, package, releases, security_advisory | yes | /v1/repositories/NodeBB/NodeBB |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-11-29
- Remote: yes
- Exposed hosts: 832
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports