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-2018-3739 Vulnerability in npm package https-proxy-agent
CVE-2023-29566 Vulnerability in npm package dawnsparks-node-tesseract
CVE-2022-0748 Vulnerability in npm package post-loader
CVE-2021-24122 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2022-24999 Vulnerability in maven package org.webjars.npm:qs