prismjs@1.2.0 vulnerabilities
Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.
-
latest version
1.29.0
-
latest non vulnerable version
-
first published
10 years ago
-
latest version published
2 years ago
-
licenses detected
- >=0
Direct Vulnerabilities
Known vulnerabilities in the prismjs 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 |
---|---|
prismjs is a lightweight, robust, elegant syntax highlighting library. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the PoC
How to fix Regular Expression Denial of Service (ReDoS)? Upgrade |
<1.25.0
|
prismjs is a lightweight, robust, elegant syntax highlighting library. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the How to fix Regular Expression Denial of Service (ReDoS)? Upgrade |
<1.24.0
|
prismjs is a lightweight, robust, elegant syntax highlighting library. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the How to fix Regular Expression Denial of Service (ReDoS)? Upgrade |
<1.23.0
|
prismjs is a lightweight, robust, elegant syntax highlighting library. Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the easing preview of the Previewers plugin. It allows attackers to execute arbitrary code in Safari and Internet Explorer. How to fix Cross-site Scripting (XSS)? Upgrade |
>=1.1.0 <1.21.0
|
prismjs is a lightweight, robust, elegant syntax highlighting library. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The 'template-string'-Regexp is supposed to match a multiline string, meaning that if it doesn't find a match it will scan to the end of the file and then backtrack. Every backslash doubles the number of steps needed causing exponential growth and memory usage. How to fix Regular Expression Denial of Service (ReDoS)? Upgrade |
<1.5.0
|