{"api_version":"1","generated_at":"2026-04-23T10:19:32+00:00","cve":"CVE-2021-43787","urls":{"html":"https://cve.report/CVE-2021-43787","api":"https://cve.report/api/cve/CVE-2021-43787.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43787","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43787"},"summary":{"title":"CVE-2021-43787","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-11-29 20:15:00","updated_at":"2022-10-27 19:45:00"},"problem_types":["CWE-79","CWE-1321"],"metrics":[],"references":[{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","name":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","refsource":"MISC","tags":[],"title":"NodeBB 1.18.4 - Remote Code Execution With One Shot","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","name":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","refsource":"MISC","tags":[],"title":"Release v1.18.5 · NodeBB/NodeBB · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c","name":"https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c","refsource":"MISC","tags":[],"title":"fix: guard against prototype pollution · NodeBB/NodeBB@1783f91 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc","name":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc","refsource":"CONFIRM","tags":[],"title":"XSS via prototype pollution · Advisory · NodeBB/NodeBB · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43787","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43787","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43787","vulnerable":"1","versionEndIncluding":"1.18.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodebb","cpe5":"nodebb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-43787","qid":"983309","title":"Nodejs (npm) Security Update for nodebb (GHSA-wx69-rvg3-x7fc)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43787","STATE":"PUBLIC","TITLE":"XSS via prototype pollution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"NodeBB","version":{"version_data":[{"version_value":">= 1.15.5, < 1.18.5"}]}}]},"vendor_name":"NodeBB"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]},{"description":[{"lang":"eng","value":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')"}]}]},"references":{"reference_data":[{"name":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc","refsource":"CONFIRM","url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc"},{"name":"https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c","refsource":"MISC","url":"https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c"},{"name":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","refsource":"MISC","url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5"},{"refsource":"MISC","name":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/"}]},"source":{"advisory":"GHSA-wx69-rvg3-x7fc","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-11-29 20:15:00","lastModifiedDate":"2022-10-27 19:45:00","problem_types":["CWE-79","CWE-1321"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*","versionStartIncluding":"1.15.5","versionEndIncluding":"1.18.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43787","Ordinal":"221376","Title":"CVE-2021-43787","CVE":"CVE-2021-43787","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43787","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}