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-2021-27515 Vulnerability in npm package url-parse
CVE-2020-26291 Vulnerability in maven package org.webjars.bower:urijs
CVE-2020-26258 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2023-26920 Vulnerability in npm package fast-xml-parser
CVE-2023-26119 Vulnerability in maven package net.sourceforge.htmlunit:htmlunit