MEDIUM6.1
GHSA-9g4f-5rpg-4948
NodeBB Cross-site Scripting Vulnerability in Markdown Processing
Quick fix
GHSA-9g4f-5rpg-4948 — nodebb: upgrade to the fixed version with the command below.
npm install nodebb@0.70Details
Multiple cross-site scripting (XSS) vulnerabilities in NodeBB before 0.7 allow remote attackers to inject arbitrary web script or HTML via vectors related to (1) javascript: or (2) data: URLs.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/nodebb-plugin-markdown
Introduced in:
0Fixed in: 5.1.1Fix
npm install nodebb-plugin-markdown@5.1.1References
- https://nvd.nist.gov/vuln/detail/CVE-2015-3296[ADVISORY]
- https://github.com/NodeBB/NodeBB/issues/2273[WEB]
- https://github.com/NodeBB/nodebb-plugin-markdown/commit/ab7f2684750882f7baefbfa31db8d5aac71e6ec3[WEB]
- https://github.com/markdown-it/markdown-it/commit/f76d3beb46abd121892a2e2e5c78376354c214e3[WEB]
- https://web.archive.org/web/20200228230630/http://www.securityfocus.com/bid/71824[WEB]
- http://www.openwall.com/lists/oss-security/2015/04/10/10[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/nodebb"]}'