10 matches found
Cross-site Scripting (XSS)
Overview @astrojs/markdoc is an Add support for Markdoc in your Astro site Affected versions of this package are vulnerable to Cross-site Scripting XSS in runHighlighterWithAstro, which returns the code unescaped when the requested language has no Prism grammar, and every caller inserts the resul...
@keystatic/templates-astro (>=0.0.0-20241129011107, <=0.0.64), @knitli/astro-docs-template (>=0.2.2, <=2.2.5) +3 more potentially affected by CVE-2026-126365 via @astrojs/markdoc (>=0.3.3, <=1.0.6)
@astrojs/markdoc NPM version =0.3.3, =0.0.0-20241129011107, =0.2.2, =0.0.1, =0.1.0, =0.0.1, =0.1.8 Source cves: CVE-2026-126365 Source advisory: SNYK:JS-ASTROJSMARKDOC-22552527...
CVE-2026-126365
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 labele...
CVE-2026-126365: withastro, @astrojs: Astro is a web framework for content-driven websites
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 labele...
CVE-2026-126365 Astro: XSS via unescaped code for unsupported languages in @astrojs/prism
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 labele...
CVE-2026-126365
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 labele...
CVE-2026-126365
The Astro web framework is vulnerable to Cross-Site Scripting (XSS) due to a flaw in how it handles unsupported languages in the @astrojs/prism and @astrojs/markdoc components. Specifically, the runHighlighterWithAstro() function returned code unchanged when no grammar existed for the requested l...
CVE-2026-126365 Astro: XSS via unescaped code for unsupported languages in @astrojs/prism
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 labele...
PT-2026-146088
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 labele...
@astrojs/cloudflare (>=12.6.1, <=12.6.8), @astrojs/markdoc (>=0.15.3, <=0.15.6) +19 more potentially affected by CVE-2025-59837 via @astrojs/internal-helpers (>=0.7.0, <=0.7.2)
@astrojs/internal-helpers NPM version =0.7.0, =12.6.1, =0.15.3, =6.3.4, =4.3.2, =6.5.4, =9.3.2, =8.2.4, =0.0.1, =0.1.2-alpha.1, =1.13.2, =0.37.0, =0.37.0, =0.70.0 and more Source cves: CVE-2025-59837 Source advisory: MEND:CVE-2025-59837...