{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-43787","id":"CVE-2021-43787","title":"XSS via 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 patch","descriptionLong":"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":"2021-11-29T19:30:11.000Z","updated":"2026-10-20T10:55:03.201393300Z","reserved":"2021-11-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"critical","products":["NodeBB"],"affectedProducts":[{"vendor":"NodeBB","product":"NodeBB","defaultStatus":null,"versions":[{"status":"affected","version":">= 1.15.5, < 1.18.5"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"nodebb","purl":"pkg:npm/nodebb","ranges":[">=1.15.0 <1.18.5"],"fixed":["1.18.5"],"advisory":"GHSA-wx69-rvg3-x7fc"}],"cwes":["CWE-79","CWE-1321"],"aliases":["GHSA-wx69-rvg3-x7fc"],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","tags":["x_refsource_MISC","x_transferred","Patch","Release Notes","Third Party Advisory","fix","web"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43787","tags":["advisory"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot","tags":["web"]},{"url":"https://github.com/NodeBB/NodeBB","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01317,"epssPercentile":0.71418,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-43787","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43787","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-43787","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wx69-rvg3-x7fc","ok":true,"note":"GHSA-wx69-rvg3-x7fc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-43787","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}