# CVE-2026-126363: Astro: Reflected XSS via unescaped slot names in @astrojs/solid-js

Status: published. Published: 2026-11-12. Updated: 2026-11-12.

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.

## Remediation

- fix: @astrojs/solid-js (npm): OSV reports a fixed version 7.1.2. Check the advisory for supported release branches. (source: OSV GHSA-jmv2-qgxf-f995) — https://github.com/advisories/GHSA-jmv2-qgxf-f995

## Affected products and versions

- withastro / astro: >= 0.2.0, < 7.1.2 (affected). Source: CNA: GitHub_M
-  / @astrojs/solid-js (@astrojs/solid-js): ≥ 0.2.0; < 7.1.2 (affected, semver); OSV events: introduced 0.2.0; fixed 7.1.2. Source: OSV GHSA-jmv2-qgxf-f995

## Severity and prioritization

- CVSS 4.0: 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-79

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/withastro/astro/security/advisories/GHSA-jmv2-qgxf-f995 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/withastro/astro/commit/290b196ddb48de11783ff128e2b7272c61490a20 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/withastro/astro/releases/tag/@astrojs/solid-js@7.1.2 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/advisories/GHSA-jmv2-qgxf-f995 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-jmv2-qgxf-f995 (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-126363; retrieved 2026-11-12; source updated 2026-11-12

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-jmv2-qgxf-f995; retrieved 2026-11-12; source updated 2026-11-12

Revision: cbab3d0a738f1517ae66c5cf77ff3e0ee9a7ca5ab0e0528cdbf4c2f23e316362

Canonical: https://y2.dev/cve/CVE-2026-126363

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.