VulnerabilityCVE-2026-126365
Astro: XSS via unescaped code for unsupported languages in @astrojs/prism
Not on CISA KEV
Summary
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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CVE List Source: CVE Program (cve.org)
- NVD This product uses the NVD API but is not endorsed or certified by the NVD.