Skip to main content

Prism

6 CVEs product

Monthly

CVE-2026-126365 Nov 12, 22:36 MEDIUM PATCH This Month

Stored cross-site scripting in the Astro ecosystem affects @astrojs/prism before 4.1.2 and the @astrojs/markdoc prism() extension from 0.3.0 through 2.1.1: code blocks tagged with a language Prism has no grammar for are emitted into the page as raw HTML instead of escaped text, so embedded markup and script execute in the site's origin for every visitor. Exploitation requires an authenticated low-privileged actor - a content author on a Markdoc site using the prism() extension whose ordinary HTML rendering is otherwise disabled, or an application passing untrusted code plus an attacker-influenced lang into the <Prism /> component - plus a victim viewing the rendered page (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, 5.4). Sites using the default Shiki highlighter, supported languages, or plaintext/no-language blocks are unaffected; no public exploit has been identified at time of analysis.

XSS Red Hat Astro Prism Withastro +1
NVD GitHub
CVSS 3.1
5.4
EPSS
0.2%
CVE-2024-53382 Mar 03, 07:15 npm MEDIUM POC PATCH This Month

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. Rated medium severity (CVSS 4.9), this vulnerability is remotely exploitable. Public exploit code available and no vendor patch available.

XSS RCE Code Injection Red Hat Prism +1
NVD GitHub
CVSS 3.1
4.9
EPSS
0.1%
CVE-2022-23647 Feb 18, 15:15 npm MEDIUM PATCH This Month

Prism is a syntax highlighting library. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.

XSS Prism Prismjs
NVD GitHub
CVSS 3.1
6.1
EPSS
1.5%
CVE-2021-3801 Sep 15, 13:15 npm MEDIUM POC PATCH This Month

prism is vulnerable to Inefficient Regular Expression Complexity. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Prism Prismjs
NVD GitHub
CVSS 3.1
6.5
EPSS
1.0%
CVE-2021-32723 Jun 28, 20:15 npm MEDIUM PATCH This Month

Prism is a syntax highlighting library. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Uncontrolled Resource Consumption vulnerability could allow attackers to cause denial of service by exhausting system resources.

Denial Of Service Oracle Application Express Prism Prismjs
NVD GitHub
CVSS 3.1
6.5
EPSS
1.4%
CVE-2021-23341 Feb 18, 16:15 npm HIGH POC PATCH This Week

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. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Prism Prismjs
NVD GitHub
CVSS 3.1
7.5
EPSS
3.2%
EPSS 0% CVSS 5.4
MEDIUM PATCH This Month

Stored cross-site scripting in the Astro ecosystem affects @astrojs/prism before 4.1.2 and the @astrojs/markdoc prism() extension from 0.3.0 through 2.1.1: code blocks tagged with a language Prism has no grammar for are emitted into the page as raw HTML instead of escaped text, so embedded markup and script execute in the site's origin for every visitor. Exploitation requires an authenticated low-privileged actor - a content author on a Markdoc site using the prism() extension whose ordinary HTML rendering is otherwise disabled, or an application passing untrusted code plus an attacker-influenced lang into the <Prism /> component - plus a victim viewing the rendered page (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, 5.4). Sites using the default Shiki highlighter, supported languages, or plaintext/no-language blocks are unaffected; no public exploit has been identified at time of analysis.

XSS Red Hat Astro +3
NVD GitHub
EPSS 0% CVSS 4.9
MEDIUM POC PATCH This Month

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. Rated medium severity (CVSS 4.9), this vulnerability is remotely exploitable. Public exploit code available and no vendor patch available.

XSS RCE Code Injection +3
NVD GitHub
EPSS 1% CVSS 6.1
MEDIUM PATCH This Month

Prism is a syntax highlighting library. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.

XSS Prism Prismjs
NVD GitHub
EPSS 1% CVSS 6.5
MEDIUM POC PATCH This Month

prism is vulnerable to Inefficient Regular Expression Complexity. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Prism Prismjs
NVD GitHub
EPSS 1% CVSS 6.5
MEDIUM PATCH This Month

Prism is a syntax highlighting library. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Uncontrolled Resource Consumption vulnerability could allow attackers to cause denial of service by exhausting system resources.

Denial Of Service Oracle Application Express +2
NVD GitHub
EPSS 3% CVSS 7.5
HIGH POC PATCH This Week

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. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Prism Prismjs
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy