Skip to main content
VulnerabilityPublished

CVE-2026-126365: withastro astro · Cross-site Scripting

Affects withastro astroSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.4 Medium : upgrade to 7.4.3 when convenient.

Data as of 12 Nov 2026, 22:52 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.4
Patch
Available – fixed in 7.4.3, 4.1.2, 2.1.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.

What to do

Upgrade astro to 7.4.3; prism to 4.1.2; markdoc to 2.1.2.

Affected software

ProductAffectedFixed in
withastroastroAffected
  • <7.4.3
Fixed in
  • 7.4.3
@astrojsprismAffected
  • <4.1.2
Fixed in
  • 4.1.2
@astrojsmarkdocAffected
  • >=0.3.0 <2.1.2
Fixed in
  • 2.1.2

AI-suggested

The vulnerability is fixed in @astrojs/prism version 4.1.2, @astrojs/markdoc version 2.1.2, and Astro version 7.4.3. Users should upgrade to these versions or later to remediate the issue. No additional mitigation steps are required once these updates are applied.

Description

CVE-2026-126365 is a cross-site scripting (XSS) vulnerability in the Astro web framework affecting the @astrojs/prism and @astrojs/markdoc components. The issue occurs when unsupported or attacker-controlled language labels cause code blocks to render embedded HTML and scripts instead of displaying them as text. This flaw allows injection of malicious scripts when untrusted code is supplied with unsupported language tags. The vulnerability is fixed in @astrojs/prism 4.1.2, @astrojs/markdoc 2.1.2, and Astro 7.4.3.

References

Community reviews

Loading reviews…