Skip to main content

@astrojs/solid-js EUVDEUVD-2026-124745

| CVE-2026-126363 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-11-12 GitHub_M GHSA-jmv2-qgxf-f995
2.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft link with malicious slot-name parameter
  2. Delivery
    Victim opens crafted URL
  3. Exploit
    Unescaped slot name breaks astro-slot name attribute
  4. Execution
    Injected HTML hydrated by client:* Solid component
  5. Impact
    Execute 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

astro 0.2.0, < 7.1.2

Affected Packages

npm @astrojs/solid-js fix: 7.1.2
euvd astro fix: 7.1.2

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

Vendor (GitHub_M) PRIMARY 2.3 LOW
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
vuln.today AI 4.7 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Nov 12, 2026 - 23:03 EUVD

DescriptionCVE.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

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
official Astro Solid renderer, niche subset of Astro sites using SolidJS
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Astro

View all
CVE-2018-7180 CRITICAL POC
9.8 Feb 17

SQL Injection exists in the Saxum Astro 4.0.14 component for Joomla!. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2026-25545 HIGH POC
8.6 Feb 24

Astro web framework versions prior to 9.5.4 contain a server-side request forgery vulnerability in error page handling t

CVE-2026-59731 HIGH POC
8.2 Jul 08

Authorization bypass in the Astro web framework version 6.4.7 lets remote unauthenticated attackers reach protected rout

CVE-2024-56159 HIGH POC
7.8 Dec 19

Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.8), this vulnerability is remotely exp

CVE-2025-59837 HIGH POC
7.2 Oct 28

Server-side request forgery in Astro's built-in image proxy lets unauthenticated remote attackers force the server to fe

CVE-2025-58179 HIGH POC
7.2 Sep 05

Astro is a web framework for content-driven websites. Rated high severity (CVSS 7.2), this vulnerability is remotely exp

CVE-2025-55303 MEDIUM POC
6.9 Aug 19

Astro is a web framework for content-driven websites. Rated medium severity (CVSS 6.9), this vulnerability is remotely e

CVE-2025-64765 MEDIUM POC
6.9 Nov 19

Astro is a web framework. Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authenticatio

CVE-2025-64525 MEDIUM POC
6.5 Nov 13

Astro is a web framework. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authenticatio

CVE-2025-61925 MEDIUM POC
6.5 Oct 10

Unvalidated reflection of the X-Forwarded-Host header in Astro (versions before 5.14.3) lets remote, unauthenticated att

CVE-2026-27829 MEDIUM POC
6.5 Feb 26

Astro web framework versions 9.0.0 through 9.5.3 fail to validate remote image domains when the inferSize option is enab

CVE-2026-84376 MEDIUM POC
6.3 Sep 02

Base-path prefix bypass in Astro prior to 7.2.4 allows unauthenticated remote attackers to reach protected server-side r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy