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.
Remediation
References
https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/
https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c
https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5
https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc
Related Vulnerabilities
CVE-2020-7608 Vulnerability in maven package org.webjars.npm:yargs-parser
CVE-2019-0194 Vulnerability in maven package org.apache.camel:camel-core
CVE-2020-12827 Vulnerability in npm package mjml
CVE-2020-7771 Vulnerability in npm package asciitable.js
CVE-2022-21222 Vulnerability in maven package org.webjars.npm:css-what