Vulnerabilities
Vulnerable Software
Prismjs:  >> Prism  >> 1.3.0  Security Vulnerabilities
Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
CVSS Score
4.9
EPSS Score
0.0
Published
2025-03-03
prism is vulnerable to Inefficient Regular Expression Complexity
CVSS Score
7.5
EPSS Score
0.003
Published
2021-09-15
Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take a very very long time to highlight. This problem has been fixed in Prism v1.24. As a workaround, do not use ASCIIDoc or ERB to highlight untrusted text. Other languages are not affected and can be used to highlight untrusted text.
CVSS Score
7.4
EPSS Score
0.004
Published
2021-06-28
The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.
CVSS Score
7.5
EPSS Score
0.018
Published
2021-02-18


Contact Us

Shodan ® - All rights reserved