PatchSiren cyber security CVE debrief
CVE-2026-126362 withastro CVE debrief
A reflected XSS vulnerability exists in Astro's @astrojs/svelte renderer, affecting versions from 5.7.3 to 9.1.2. An attacker can inject active HTML by controlling slot names, but exploitation requires a specific setup involving a hydrated Svelte component and dynamic rendering of the attacker's chosen slot. Defenders should assess their exposure, prioritize verification and remediation efforts, and monitor for unusual activity. The vulnerability is fixed in version 9.1.2, and defenders should update to this version or later to mitigate the risk.
- Vendor
- withastro
- Product
- astro
- CVSS
- LOW 2.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-12
- Original CVE updated
- 2026-11-13
- Advisory published
- 2026-11-12
- Advisory updated
- 2026-11-13
Who should care
Defenders responsible for Astro deployments, especially those using client-side rendering and dynamic slot names, should assess their exposure and prioritize verification and remediation efforts.
Why it matters
A reflected XSS vulnerability in Astro's @astrojs/svelte renderer requires verification and remediation efforts from defenders, especially those using client-side rendering and dynamic slot names.
- Defenders must verify Astro deployments for exposure to potential reflected XSS attacks
- Unusual activity monitoring and compensating controls are necessary to detect potential attacks
- Remediation priority is high for deployments using client-side rendering and dynamic slot names
Technical summary
The @astrojs/svelte renderer in Astro versions from 5.7.3 to 9.1.2 inserts a named slot into the quoted name attribute of an astro-slot wrapper without HTML escaping. This allows an attacker to inject active HTML by controlling the slot name, but only if a hydrated Svelte component uses a client:* directive and dynamic rendering of the attacker's chosen slot. The vulnerability requires a specific setup involving a hydrated Svelte component and dynamic rendering of the attacker's chosen slot. Defenders should prioritize verifying their Astro deployments for exposure, especially those using client-side rendering and dynamic slot names.
Defensive priority
Defenders should prioritize verifying their Astro deployments for exposure, especially those using client-side rendering and dynamic slot names. They should also monitor for unusual activity and implement compensating controls to detect potential attacks.
Recommended defensive actions
- Verify Astro deployments for exposure, especially those using client-side rendering and dynamic slot names.
- Monitor for unusual activity and implement compensating controls to detect potential attacks.
- Update to version 9.1.2 or later to fix the vulnerability.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE record and source item provide details on the vulnerability, including its existence in versions from 5.7.3 to 9.1.2 of Astro's @astrojs/svelte renderer. The issue is fixed in version 9.1.2. Defenders should verify Astro deployments for exposure, especially those using client-side rendering and dynamic slot names. The CVE Program record and NIST NVD detail page provide additional information on the vulnerability. The source item provides details on the vulnerability, but its description is limited. Defenders should review the
Sources and references
Verified primary and authoritative sources
-
CVE-2026-126362 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-126362
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-126362 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126362
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Astro: Reflected XSS via unescaped slot names in @astrojs/svelte
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/126xxx/CVE-2026-126362.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/withastro/astro/security/advisories/GHSA-f4j9-crrj-867q
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/withastro/astro/commit/5e476365378e41aa2745d003b2383d02008d7b44
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/withastro/astro/releases/tag/@astrojs/[email protected]
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.