CVE-2026-126362
Description
Astro is a web framework for content-driven websites. From 5.7.3 until 9.1.2, the @astrojs/svelte renderer inserted a named slot into the quoted name attribute of an astro-slot wrapper without HTML escaping. Request-controlled slot names containing a quote could terminate the attribute and inject active HTML. Exploitation required a hydrated Svelte component using a client:* directive and dynamic rendering of the attacker-chosen slot; components that did not render that slot emitted only Astro's escaped fallback content. Both server rendering and client-side hydration used the unsafe slot name. This issue is fixed in version 9.1.2.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-12Published by the CNA22:29 UTC
- 2026-11-12GitHub advisory published (GHSA-f4j9-crrj-867q)same day
- 2026-11-13Published in NVD00:20 UTC · 1 hour 50 minutes after the CNA
- 2026-11-13CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-f4j9-crrj-867q, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @astrojs/svelte | from 5.7.3 before 9.1.2 | 9.1.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| withastro astro |
References
- https://github.com/withastro/astro/commit/5e476365378e41aa2745d003b2383d02008d7b44
- https://github.com/withastro/astro/releases/tag/@astrojs/svelte@9.1.2
- https://github.com/withastro/astro/security/advisories/GHSA-f4j9-crrj-867q
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-126362'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-126362'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-126362'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-126362'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).