0.0
NA
CVE-2026-126362
Astro: Reflected XSS via unescaped slot names in @astrojs/svelte
Description

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.

INFO

Published Date :

Nov. 12, 2026, 10:29 p.m.

Last Modified :

Nov. 12, 2026, 10:29 p.m.

Remotely Exploit :

No

Source :

GitHub_M
Affected Products

The following products are affected by CVE-2026-126362 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Astro astro
Solution
Update the @astrojs/svelte renderer to version 9.1.2 to fix an HTML injection vulnerability.
  • Update to @astrojs/svelte renderer version 9.1.2.
  • Ensure Svelte components do not use dynamic slot names.
  • Sanitize any user-provided slot names.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-126362 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.