Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-126362
Published:November 12, 2026
Updated:November 13, 2026
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.
Affected Packages
https://github.com/withastro/astro.git (GITHUB):
Affected version(s) =@astrojs/svelte@5.7.3 <@astrojs/svelte@9.1.2 || >=@astrojs/svelte@6.0.0-beta.2 <@astrojs/svelte@9.1.2 || >=@astrojs/svelte@7.0.0-beta.1 <@astrojs/svelte@9.1.2 || >=@astrojs/svelte@8.0.0-beta.0 <@astrojs/svelte@9.1.2 || >=@astrojs/svelte@9.0.0-alpha.0 <@astrojs/svelte@9.1.2
Fix Suggestion:
Update to version @astrojs/svelte@9.1.2
@astrojs/svelte (NPM):
Affected version(s) >=8.0.0-alpha.0 <9.1.2 || >=9.0.0-alpha.0 <9.1.2 || >=7.0.0-beta.1 <9.1.2 || =5.7.3 <9.1.2 || >=6.0.0-beta.2 <9.1.2
Fix Suggestion:
Update to version 9.1.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation