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

Low 2.3 Published Updated

Attackers can inject HTML via unescaped slot names in Astro Solid components that render client slots with dynamic access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
Yes
Fix
Available

What is CVE-2026-126363?

CVE-2026-126363 is a low-severity cross-site scripting vulnerability in withastro astro, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-126363?

1 open source package ship an affected version, including @astrojs/solid-js.

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

PackageAffectedFixed in
@astrojs/solid-js npmFrom 0.2.07.1.2

How do I fix CVE-2026-126363?

Upgrade @astrojs/solid-js to 7.1.2 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-126363 being exploited?

There is no known exploitation of CVE-2026-126363 in the wild and no public exploit code.

Sources

Also known as GHSA-jmv2-qgxf-f995.

Is CVE-2026-126363 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free