Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious link with quote-breaking slot name
-
DeliveryLure victim to open link
-
ExploitRequest-controlled value written unescaped into astro-slot name attribute
-
ExecutionAttribute terminated, active HTML injected
-
ImpactScript executes in victim browser on site origin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation is possible only when ALL of the following hold in the target Astro application: (1) the page passes request-controlled input (such as a query parameter) directly as a slot name; (2) the Svelte component is hydrated with a client:* directive - for non-hydrated components the astro-slot wrapper and its name attribute are removed from output; (3) the component actually renders the attacker-chosen slot, in practice a Svelte 5 component that renders snippets by a dynamic name (components that never render that slot emit only Astro's already-escaped fallback); and (4) a victim opens an attacker-crafted link (UI:P). Limiting factors: this is a non-default application coding pattern, not an out-of-the-box exposure, and the required victim interaction plus the dynamic-slot-rendering precondition substantially narrow real-world exploitability. Both server rendering and client-side hydration used the unsafe slot name on affected versions. |
| Impact | This is a genuinely low-priority issue, and the signals agree. The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) scores 2.3, and the SSVC/priority Decision label is 'monitor' - both pointing to routine handling rather than urgent action. The vector is network-reachable (AV:N) and needs no attacker authentication (PR:N), but it carries AT:P (a specific attack requirement) and UI:P (victim interaction), reflecting that exploitation only works against an application coded in a particular vulnerable way AND requires a victim to open a crafted link. KEV status is not listed, so there is no confirmed active exploitation; no EPSS score was provided, so statistical exploitation probability cannot be compared here. The practical risk is sharply constrained by the preconditions described in the advisory (request-controlled slot name + hydrated client:* Svelte 5 component that renders dynamic snippets by name), which is an uncommon application pattern rather than a default-configuration flaw. Net: a real but narrow reflected-XSS bug, correctly rated low; it does not represent a widespread or high-urgency threat on the available evidence. |
| Exploit ScenarioDerived | An application passes a request-controlled value (e.g. a ?tab= query parameter) as the slot name of a hydrated Svelte 5 component that renders snippets by dynamic name. An attacker crafts a link where that parameter is a slot name like |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Reflected cross-site scripting in the @astrojs/svelte renderer (versions 5.7.3 through 9.1.1) lets a crafted link execute script on the victim site's origin when the application writes a request-controlled slot name into the renderer's generated <astro-slot> wrapper, because that name was placed inside a double-quoted name attribute without HTML escaping. Exploitation requires an unusually specific combination: a page that passes attacker-influenced input directly as a slot name, a Svelte component hydrated with a client:* directive, and a component (in practice Svelte 5) that renders the attacker-chosen slot by dynamic name - components that never render that slot emit only Astro's already-escaped fallback, and non-hydrated components drop the wrapper entirely. The issue is rated low severity (CVSS 2.3, CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N) and, at time of analysis, no public exploit code has been identified; a vendor fix is available in @astrojs/svelte 9.1.2.
RemediationAI
Vendor-released patch: @astrojs/svelte 9.1.2, which HTML-escapes slot names in both the server renderer and the client-side hydration code (release: https://github.com/withastro/astro/releases/tag/@astrojs/svelte@9.1.2, commit: https://github.com/withastro/astro/commit/5e476365378e41aa2745d003b2383d02008d7b44). Upgrade the @astrojs/svelte dependency to 9.1.2 or later and rebuild so both server output and hydrated client bundles pick up the escaped rendering. For applications that cannot upgrade immediately, the advisory's workaround is to stop using request-controlled input as a slot name - either map the incoming value to a fixed allowlist of known slot names before passing it to the component, or avoid dynamic slot selection altogether; note that this only protects the specific call sites you change, so it is a stopgap rather than a complete fix. No other vendor-documented mitigations are provided.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Astro is a content-driven web framework, and @astrojs/svelte is the official renderer integration that lets Svelte components be used inside .astro pages. When slotted content is passed to a Svelte component, the renderer emits wrapper elements - <astro-static-slot> and <astro-slot> - carrying the slot name in a name attribute. Prior to the fix, both the server renderer (packages/integrations/svelte/src/server.ts) and the client-side hydration path (packages/integrations/svelte/src/client.svelte.ts) interpolated the slot key directly into that double-quoted attribute, so a slot name containing a double quote could terminate the attribute and inject active markup into the page (CWE-79, cross-site scripting). The patch introduces an escapeSlotName helper that replaces &, ", < and > with their HTML entities before the value is written into the attribute, in both the server and hydration code paths, and adds a regression fixture asserting that injected elements are absent and the name attribute round-trips as literal text. This is the @astrojs/svelte counterpart of GHSA-8hv8-536x-4wqp (CVE-2026-50146), which fixed the same unescaped-slot-name pattern in astro core. The CPE record maps the flaw to withastro:astro, though the vulnerable code actually lives in the separately versioned @astrojs/svelte npm package.
Know when Astro gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Remote crafted link (AV:N) with no attacker auth (PR:N) but victim click (UI:R); AC:H because the target app must use the uncommon request-controlled dynamic-slot pattern; reflected XSS crosses into the browser (S:C) with limited C/I impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 5 npm packages depend on @astrojs/svelte (5 direct, 0 indirect)
Ecosystem-wide dependent count for version 5.7.3.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SQL Injection exists in the Saxum Astro 4.0.14 component for Joomla!. Rated critical severity (CVSS 9.8), this vulnerabi
Astro web framework versions prior to 9.5.4 contain a server-side request forgery vulnerability in error page handling t
Authorization bypass in the Astro web framework version 6.4.7 lets remote unauthenticated attackers reach protected rout
Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.8), this vulnerability is remotely exp
Server-side request forgery in Astro's built-in image proxy lets unauthenticated remote attackers force the server to fe
Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.2), this vulnerability is remotely exp
Astro is a web framework for content-driven websites. Rated medium severity (CVSS 6.9), this vulnerability is remotely e
Astro is a web framework. Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authenticatio
Astro is a web framework. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authenticatio
Unvalidated reflection of the X-Forwarded-Host header in Astro (versions before 5.14.3) lets remote, unauthenticated att
Astro web framework versions 9.0.0 through 9.5.3 fail to validate remote image domains when the inferSize option is enab
Base-path prefix bypass in Astro prior to 7.2.4 allows unauthenticated remote attackers to reach protected server-side r
EUVD-2026-124743
GHSA-f4j9-crrj-867q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB