Prismjs Prism vulnerabilities

6 known vulnerabilities affecting prismjs/prism.

Total CVEs
6
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH2MEDIUM4

Vulnerabilities

Page 1 of 1
CVE-2024-53382MEDIUMCVSS 5.4≤ 1.29.02025-03-03
CVE-2024-53382 [MEDIUM] CWE-94 CVE-2024-53382: Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input tha 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.
cvelistv5nvd
CVE-2022-23647MEDIUMCVSS 6.1≥ 1.14.0, < 1.27.0v>= 1.14.0, < 1.27.02022-02-18
CVE-2022-23647 [MEDIUM] CWE-79 CVE-2022-23647: Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Pr Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Prism's command line plugin can be used by attackers to achieve a cross-site scripting attack. The command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code. Server-side usage of Prism is n
cvelistv5nvd
CVE-2021-3801MEDIUMCVSS 6.5fixed in 1.25.02021-09-15
CVE-2021-3801 [MEDIUM] CWE-1333 CVE-2021-3801: prism is vulnerable to Inefficient Regular Expression Complexity prism is vulnerable to Inefficient Regular Expression Complexity
nvd
CVE-2021-32723MEDIUMCVSS 6.5fixed in 1.24.0fixed in 1.242021-06-28
CVE-2021-32723 [MEDIUM] CWE-400 CVE-2021-32723: Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expre 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 ASC
cvelistv5nvd
CVE-2021-23341HIGHCVSS 7.5fixed in 1.23.02021-02-18
CVE-2021-23341 [HIGH] CVE-2021-23341: The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via 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.
nvd
CVE-2020-15138HIGHCVSS 7.5v>= 1.1.0, < 1.21.02020-08-07
CVE-2020-15138 [HIGH] CWE-79 CVE-2020-15138: Prism is vulnerable to Cross-Site Scripting. The easing preview of the Previewers plugin has an XSS Prism is vulnerable to Cross-Site Scripting. The easing preview of the Previewers plugin has an XSS vulnerability that allows attackers to execute arbitrary code in Safari and Internet Explorer. This impacts all Safari and Internet Explorer users of Prism >=v1.1.0 that use the _Previewers_ plugin (>=v1.10.0) or the _Previewer: Easing_ plugin (v1.1.0 to
cvelistv5nvd