<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 19 Nov 2026 01:22:47 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-126362</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-126362</link>
      <description>&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-126362</guid>
    </item>
    <item>
      <title>GHSA-f4j9-crrj-867q — Astro: Reflected XSS via unescaped slot names in @astrojs/svelte</title>
      <link>https://db.gcve.eu/vuln/ghsa-f4j9-crrj-867q</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @astrojs/svelte&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `@astrojs/svelte` renderer wraps slotted content passed to Svelte components in an `&amp;lt;astro-slot&amp;gt;` element, and writes the slot name into its `name` attribute without HTML escaping. A slot name containing `&amp;#34;` could end the attribute and inject arbitrary HTML into the page.&lt;/p&gt;
&lt;p&gt;For example, a page that takes a slot name from the request:&lt;/p&gt;
&lt;p&gt;```astro
---
import Tabs from &amp;#39;../components/Tabs.svelte&amp;#39;;
const tab = Astro.url.searchParams.get(&amp;#39;tab&amp;#39;);
---
&amp;lt;Tabs client:load active={tab}&amp;gt;&amp;lt;div slot={tab}&amp;gt;…&amp;lt;/div&amp;gt;&amp;lt;/Tabs&amp;gt;
```&lt;/p&gt;
&lt;p&gt;rendered with a Svelte 5 component that renders its snippets by name:&lt;/p&gt;
&lt;p&gt;```svelte
&amp;lt;script&amp;gt;
	let { active, ...snippets } = $props();
&amp;lt;/script&amp;gt;
{@render snippets[active]?.()}
```&lt;/p&gt;
&lt;p&gt;would output a `tab` value such as `x&amp;#34;&amp;gt;&amp;lt;img src=x onerror=alert(1)&amp;gt;` as live HTML.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;Reflected cross-site scripting. An attacker who gets a user to open a crafted link can run JavaScript on the site&amp;#39;s origin, but only in applications where all of the following are true:&lt;/p&gt;
&lt;p&gt;- The page passes request-controlled input (such as a query parameter) as a slot name.
- The Svelte component is hydrated with a `client:*` directive. For non-hydrated components the slot wrapper is removed from the output, together with its `name` attribute.
- The Svelte component renders the attacker-chosen slot, which in practice means a Svelte 5 component that renders snippets by a dynamic name. Components that never render the slot only output Astro&amp;#39;s already escaped fallback template.&lt;/p&gt;
&lt;p&gt;This is the `@…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @astrojs/svelte&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `@astrojs/svelte` renderer wraps slotted content passed to Svelte components in an `&amp;lt;astro-slot&amp;gt;` element, and writes the slot name into its `name` attribute without HTML escaping. A slot name containing `&amp;#34;` could end the attribute and inject arbitrary HTML into the page.&lt;/p&gt;
&lt;p&gt;For example, a page that takes a slot name from the request:&lt;/p&gt;
&lt;p&gt;```astro
---
import Tabs from &amp;#39;../components/Tabs.svelte&amp;#39;;
const tab = Astro.url.searchParams.get(&amp;#39;tab&amp;#39;);
---
&amp;lt;Tabs client:load active={tab}&amp;gt;&amp;lt;div slot={tab}&amp;gt;…&amp;lt;/div&amp;gt;&amp;lt;/Tabs&amp;gt;
```&lt;/p&gt;
&lt;p&gt;rendered with a Svelte 5 component that renders its snippets by name:&lt;/p&gt;
&lt;p&gt;```svelte
&amp;lt;script&amp;gt;
	let { active, ...snippets } = $props();
&amp;lt;/script&amp;gt;
{@render snippets[active]?.()}
```&lt;/p&gt;
&lt;p&gt;would output a `tab` value such as `x&amp;#34;&amp;gt;&amp;lt;img src=x onerror=alert(1)&amp;gt;` as live HTML.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;Reflected cross-site scripting. An attacker who gets a user to open a crafted link can run JavaScript on the site&amp;#39;s origin, but only in applications where all of the following are true:&lt;/p&gt;
&lt;p&gt;- The page passes request-controlled input (such as a query parameter) as a slot name.
- The Svelte component is hydrated with a `client:*` directive. For non-hydrated components the slot wrapper is removed from the output, together with its `name` attribute.
- The Svelte component renders the attacker-chosen slot, which in practice means a Svelte 5 component that renders snippets by a dynamic name. Components that never render the slot only output Astro&amp;#39;s already escaped fallback template.&lt;/p&gt;
&lt;p&gt;This is the `@…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-f4j9-crrj-867q</guid>
    </item>
  </channel>
</rss>
