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
- Moderate severity vulnerability that affects marked - CVE-2017-17461
- Inefficient Regular Expression Complexity in marked - CVE-2022-21680
- jquery-validation vulnerable to Cross-site Scripting - CVE-2025-3573
- @mozilla/readability Denial of Service through Regex - CVE-2025-2792
- Tags:
- npm
- marked
Anything's wrong? Let us know Last updated on January 09, 2023