CVE-2026-126365: withastro astro · Cross-site Scripting
Affects withastro astroSource CVE Database V5
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
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.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:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| withastroastro | Affected
| Fixed in
|
| @astrojsprism | Affected
| Fixed in
|
| @astrojsmarkdoc | Affected
| Fixed in
|
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
- github.com/withastro/astro/security/advisories/GHSA-ff38-p3qj-4pmf (opens in a new tab)
- github.com/withastro/astro/commit/edfbf4ab34ff007ae8f7188af76a023a15c9443d (opens in a new tab)
- github.com/withastro/astro/releases/tag/@astrojs/markdoc@2.1.2 (opens in a new tab)
- github.com/withastro/astro/releases/tag/@astrojs/prism@4.1.2 (opens in a new tab)