Approved changes feed: RSS · Atom

cpe:2.3:a:@astrojs:prism:*:*:*:*:*:*:*:*

part: a version: * update: *

Vendor@Astrojs (33341ed9-1385-5613-89c7-bf94c2986e8e)
ProductPrism (003a5ade-90fa-58fe-95e0-47daccfae47d)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-126365 vulnerable 2026-11-19 05:29:19.894534 Astro: XSS via unescaped code for unsupported languages in @astrojs/prism
MEDIUM (5.4)
Astro is a web framework for content-driven websites. Prior to @astrojs/prism 4.1.2, and from @astrojs/markdoc 0.3.0 until 2.1.2, runHighlighterWithAstro() returned code unchanged when Prism had no grammar for the requested language, and callers inserted that result as raw HTML. A code block labeled with an unsupported language could therefore render embedded HTML and script instead of displaying it as text. The Prism component was affected when applications supplied untrusted code with an unsupported or attacker-controlled lang, and the @astrojs/markdoc prism() extension was affected for less-trusted content authors even when Markdoc's ordinary HTML rendering was disabled. This issue is fixed in @astrojs/prism 4.1.2 and @astrojs/markdoc 2.1.2.
Published: 2026-11-12T22:36:18.099Z
Updated: 2026-11-17T19:17:08.114Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.