{"containers":{"cna":{"affected":[{"product":"NodeBB","vendor":"NodeBB","versions":[{"status":"affected","version":">= 1.15.5, < 1.18.5"}]}],"descriptions":[{"lang":"en","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."}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1321","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2022-09-13T18:00:35.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc"},{"tags":["x_refsource_MISC"],"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/"}],"source":{"advisory":"GHSA-wx69-rvg3-x7fc","discovery":"UNKNOWN"},"title":"XSS via prototype pollution","x_legacyV4Record":{"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"},{"name":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","refsource":"MISC","url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/"}]},"source":{"advisory":"GHSA-wx69-rvg3-x7fc","discovery":"UNKNOWN"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T04:03:08.858Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/"}]}]},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2021-43787","datePublished":"2021-11-29T19:30:11.000Z","dateReserved":"2021-11-16T00:00:00.000Z","dateUpdated":"2024-08-04T04:03:08.858Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}