Description
Affected versions of marked are susceptible to a cross-site scripting vulnerability in link components when sanitize:true is configured.
Recommendation
Update the marked package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.3.6
- Patched version(s): 0.3.6
References
Related Issues
- Bypassing Sanitization using DOM clobbering in html-janitor - CVE-2017-0928
- sanitize-html is vulnerable to XSS through incomprehensive sanitization - CVE-2019-25225
- Authentication Bypass in console-io - CVE-2016-10532
- Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection - CVE-2026-41149
You might also like:
- Tags:
- npm
- marked
Anything's wrong? Let us know
Last updated on September 07, 2023