{"id":"CVE-2021-43787","published":"2021-11-29T19:30:11Z","modified":"2024-08-04T04:03:08Z","title":"XSS via prototype pollution","vendor":"NodeBB","product":"NodeBB","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01317,"percentile":0.71507,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c","tags":["x_refsource_MISC"]},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","tags":["x_refsource_MISC"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","tags":["x_refsource_MISC"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":14.3},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"nodebb","affectedVersions":[{"vendor":"NodeBB","product":"NodeBB","versions":[">= 1.15.5, < 1.18.5"]}],"affected":[{"ecosystem":"npm","package":"nodebb","vulnerableRanges":[">=1.15.0, <1.18.5"],"patched":["1.18.5"],"from":["GHSA-wx69-rvg3-x7fc"],"provenance":"source"}],"summary":{"text":"A prototype pollution flaw in the uploader module of NodeBB, an open source Node.js forum software, lets a malicious user inject arbitrary data such as JavaScript into the DOM. Exploitation requires network access and low-privileged authentication, and needs a victim to interact with the crafted content; theoretically it could enable account takeover when combined with a separately disclosed path traversal vulnerability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:41Z"},"euvd":{"id":"EUVD-2021-2408","exploited":false,"provenance":"source"}}