CVE-2026-126361: withastro astro · Cross-site Scripting
Affects withastro astroSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 7.4.5 when convenient.
Data as of 12 Nov 2026, 22:51 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 2.3 |
|---|
- Patch
- Available – fixed in 7.4.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA: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 withastro astro to 7.4.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| withastroastro | Affected
| Fixed in
|
AI-suggested
Upgrade Astro to version 7.4.5 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
Astro versions prior to 7.4.5 contain a cross-site scripting (XSS) vulnerability due to improper handling of dynamic element names. The framework rendered dynamic element names as raw HTML with an incomplete character filter, allowing a slash character to cause the HTML parser to treat the remainder as attributes. This enabled injection of event-handler markup if untrusted input was used as an element name. The vulnerability affects the .astro dynamic-tag renderer, JSX renderer, and MDX renderer. The issue is fixed in version 7.4.5.
References
- github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f (opens in a new tab)
- github.com/withastro/astro/pull/18520 (opens in a new tab)
- github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096 (opens in a new tab)
- github.com/withastro/astro/releases/tag/astro@7.4.5 (opens in a new tab)