markdown-it-prism@1.0.1 vulnerabilities
Highlights code blocks in markdown-it using Prism.
-
latest version
2.3.0
-
latest non vulnerable version
-
first published
8 years ago
-
latest version published
2 years ago
-
licenses detected
- >=1.0.0 <2.1.6
Direct Vulnerabilities
Known vulnerabilities in the markdown-it-prism package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.Vulnerability | Vulnerable Version |
---|---|
markdown-it-prism is a The plugin will insert the necessary markup into all code blocks. Include one of Prism’s stylesheets in your HTML to get highlighted code. Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It is possible to insert malicious JavaScript as markup to the package which will be returned unsanitised. PoC
How to fix Cross-site Scripting (XSS)? Upgrade |
<2.1.3
|