Description
Versions 0.3.0 and earlier of marked are affected by two cross-site scripting vulnerabilities, even when sanitize: true is set.
The attack vectors for this vulnerability are GFM Codeblocks and JavaScript URLs.
Recommendation
Update the marked package to the latest compatible version. Followings are version details:
- Affected version(s): <= 0.3.0
- Patched version(s): 0.3.1
References
Related Issues
- VBScript Content Injection in marked - CVE-2015-1370
- Denial of Service and Content Injection in i18n-node-angular - CVE-2016-10524
- Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type - CVE-2022-35948
- Content injection in marked - Vulnerability
- Tags:
- npm
- marked
Anything's wrong? Let us know Last updated on January 09, 2023