Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft link with malicious slot-name parameter
-
DeliveryVictim opens crafted URL
-
ExploitUnescaped slot name breaks astro-slot name attribute
-
ExecutionInjected HTML hydrated by client:* Solid component
-
ImpactExecute attacker JavaScript in 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 requires three application-specific conditions stated in the GHSA advisory, all of which must hold simultaneously: (1) the page passes request-controlled input (such as a query parameter) as a named slot value to a Solid component; (2) that Solid component is hydrated with a client:* directive - for non-hydrated components the astro-slot wrapper and its name attribute are stripped from output, eliminating the sink; and (3) the component actually renders the attacker-chosen slot, in practice by accessing slot props via a dynamic name, since components that never render the slot emit only Astro's already-escaped fallback. Exploitation is further limited by required user interaction (the victim must open a crafted link, UI:P) and by the fact that this is a non-default coding pattern rather than an out-of-the-box configuration. These factors make real-world exposure much narrower than the network-reachable attack vector alone suggests. |
| Impact | This is a low-priority finding and the signals agree rather than conflict. The input CVSS 4.0 base score is 2.3 (Low) with AV:N but AT:P (a specific attack requirement must hold) and UI:P (victim interaction required), and impacts are only Low across confidentiality/integrity (VC:L/VI:L), consistent with reflected XSS confined to the site origin. KEV status is not indicated (not actively exploited per CISA), and no EPSS score was provided, so exploitation probability cannot be quantified - this gap should be noted rather than assumed low. The vuln.today Decision label is 'monitor', the weakest urgency tier, which aligns with the low CVSS and absence of KEV. The GHSA advisory includes a concrete example injection string ('x"><img src=x onerror=alert(1)>'), so a public PoC reference exists, but it is a demonstrative payload, not verified as packaged working exploit code. The dominant risk limiter is that exploitation depends on an uncommon application coding pattern (request-controlled slot name + hydrated Solid component dynamically rendering that slot), not just on deploying the product. Net: a real but narrowly-conditioned reflected XSS, appropriately treated as monitor/patch-on-cycle rather than an emergency. |
| Exploit ScenarioDerived | An attacker crafts a link to an Astro page that passes a request parameter (e.g. ?tab=) directly as a slot name to a Solid component hydrated with a client:* directive, embedding a payload like 'x"><img src=x onerror=alert(1)>'. When the victim opens the link, the unescaped slot name terminates the name attribute of the astro-slot wrapper and injects live HTML, running attacker JavaScript in the site's origin. The GHSA advisory provides a demonstrative payload, but no verified standalone weaponized exploit is reported. |
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/solid-js renderer (versions 0.2.0 through 7.1.1) allows unauthenticated remote attackers to inject active HTML into a page by supplying a crafted slot name containing a double quote, which the server renderer wrote into the quoted name attribute of an astro-slot wrapper without HTML escaping. Exploitation requires a victim to open a crafted link and is only possible in the narrow set of applications that pass request-controlled input as a slot name, hydrate the Solid component with a client:* directive, and actually render the attacker-chosen slot via dynamic prop access; non-hydrated components drop the wrapper entirely and components that never render the slot emit only escaped fallback content. The flaw is fixed by HTML-escaping slot names in @astrojs/solid-js 7.1.2, and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: @astrojs/solid-js 7.1.2, which HTML-escapes slot names in the server renderer (commit 290b196ddb48de11783ff128e2b7272c61490a20). Upgrade the integration to 7.1.2 or later and redeploy; verify the installed version in the lockfile since the package is a transitive build-time dependency of Astro projects rather than a core runtime. If upgrading is not immediately possible, the vendor's stated workaround is to avoid using request-controlled input as a slot name, or to map any user-supplied value to a fixed set of known slot names before passing it to a component - the trade-off is restricted flexibility for dynamic tab/panel patterns. Note that the underlying astro core package had the analogous issue fixed as CVE-2026-50146 (GHSA-8hv8-536x-4wqp), so projects on older astro releases should be reviewed at the same time. Advisory: https://github.com/withastro/astro/security/advisories/GHSA-jmv2-qgxf-f995.
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
The issue lives in the Solid.js server renderer shipped as the @astrojs/solid-js integration (packages/integrations/solid/src/server.ts). When rendering named slot content for a Solid component during server-side rendering, the renderer builds a wrapper element as a raw HTML string of the form <astro-slot name="${name}">…</astro-slot> and passes it through the SSR pipeline. Because the slot name was interpolated directly into a double-quoted attribute without escaping, a name containing " terminates the attribute and lets the remainder of the string be parsed as live markup - a classic CWE-79 reflected XSS sink arising from unescaped string concatenation into an HTML attribute context. The upstream fix introduces an escapeSlotName helper that replaces &, ", < and > with their HTML entities before interpolation, and adds a regression fixture asserting that no injected element appears and that astro-slot/astro-static-slot name attributes round-trip the original value. This is the @astrojs/solid-js counterpart of CVE-2026-50146 (GHSA-8hv8-536x-4wqp), which fixed the same class of issue in the astro core package; the CPE cpe:2.3:a:withastro:astro:*:*:*:*:*:*:*:* reflects the Astro monorepo rather than a distinct product identity. In deployment terms, the sink is confirmed reachable only for hydrated components (client:* directives); for non-hydrated components the wrapper and its name attribute are confirmed to be removed from output, eliminating the sink, and for components that do not render the named slot only Astro's pre-escaped fallback is emitted. The trigger beyond these conditions is not described further in the available sources, and the integration's own CVSS 4.0 vector (AT:P, UI:P, VC:L/VI:L) is consistent with an application-specific, interaction-gated reflected XSS rather than a broadly exploitable injection.
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
Network-reachable reflected XSS needing victim click (UI:R) and an uncommon app pattern (AC:H); no auth (PR:N); runs in page origin so S:C with limited C:L/I:L.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Astro is a web framework for content-driven websites. From 0.2.0 until 7.1.2, the @astrojs/solid-js renderer inserted a named slot into the quoted name attribute of an astro-slot wrapper without HTML escaping. A request-controlled slot name containing a quote could terminate the attribute and inject active HTML. Exploitation required a hydrated Solid component using a client:* directive and dynamic access to the attacker-chosen slot property; a component that did not render that slot emitted only escaped fallback content. This issue is fixed in version 7.1.2.
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-124745
GHSA-jmv2-qgxf-f995
NVD
CVE.org
EPSS
Exploit-DB