<?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>Mon, 05 Oct 2026 13:54:50 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-54298</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-54298</link>
      <description>&lt;p&gt;Astro is a web framework. Prior to 6.4.6, the spreadAttributes function in Astro&amp;#39;s server-side rendering pipeline iterates over object keys and passes them directly to addAttribute, which interpolates the key into the HTML output without escaping. When a developer uses the spread syntax {...props} on an HTML element and the object keys come from an untrusted source (API, CMS, URL parameters), an attacker can inject arbitrary HTML attributes including event handlers like onmousemove, onclick, or break out of the attribute context entirely to inject new elements. This vulnerability is fixed in 6.4.6.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Astro is a web framework. Prior to 6.4.6, the spreadAttributes function in Astro&amp;#39;s server-side rendering pipeline iterates over object keys and passes them directly to addAttribute, which interpolates the key into the HTML output without escaping. When a developer uses the spread syntax {...props} on an HTML element and the object keys come from an untrusted source (API, CMS, URL parameters), an attacker can inject arbitrary HTML attributes including event handlers like onmousemove, onclick, or break out of the attribute context entirely to inject new elements. This vulnerability is fixed in 6.4.6.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-54298</guid>
    </item>
    <item>
      <title>GHSA-jrpj-wcv7-9fh9 — Astro: XSS via Unescaped Attribute Names in Spread Props</title>
      <link>https://db.gcve.eu/vuln/ghsa-jrpj-wcv7-9fh9</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: astro&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `spreadAttributes` function in Astro&amp;#39;s server-side rendering pipeline iterates over object keys and passes them directly to `addAttribute`, which interpolates the key into the HTML output without escaping. When a developer uses the spread syntax `{...props}` on an HTML element and the object keys come from an untrusted source (API, CMS, URL parameters), an attacker can inject arbitrary HTML attributes including event handlers like `onmousemove`, `onclick`, or break out of the attribute context entirely to inject new elements.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;The vulnerable function is [`addAttribute`](https://github.com/withastro/astro/blob/main/packages/astro/src/runtime/server/render/util.ts#L81-L141) at `packages/astro/src/runtime/server/render/util.ts:81-141`:&lt;/p&gt;
&lt;p&gt;```javascript
export function addAttribute(value: any, key: string, shouldEscape = true, tagName = &amp;#39;&amp;#39;) {
    if (value == null) {
        return &amp;#39;&amp;#39;;
    }
    
    return markHTMLString(` ${key}=&amp;#34;${toAttributeString(value, shouldEscape)}&amp;#34;`); //  key interpolated not escaped
}
```&lt;/p&gt;
&lt;p&gt;This function is called from [`spreadAttributes`](https://github.com/withastro/astro/blob/main/packages/astro/src/runtime/server/index.ts#L91-L92) at `packages/astro/src/runtime/server/index.ts:91-92`:&lt;/p&gt;
&lt;p&gt;```javascript
for (const [key, value] of Object.entries(values)) {
    output += addAttribute(value, key, true, _name);
}
```&lt;/p&gt;
&lt;p&gt;The `toAttributeString` function escapes the attribute value, but the attribute name `key` is never validated or es…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: astro&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `spreadAttributes` function in Astro&amp;#39;s server-side rendering pipeline iterates over object keys and passes them directly to `addAttribute`, which interpolates the key into the HTML output without escaping. When a developer uses the spread syntax `{...props}` on an HTML element and the object keys come from an untrusted source (API, CMS, URL parameters), an attacker can inject arbitrary HTML attributes including event handlers like `onmousemove`, `onclick`, or break out of the attribute context entirely to inject new elements.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;The vulnerable function is [`addAttribute`](https://github.com/withastro/astro/blob/main/packages/astro/src/runtime/server/render/util.ts#L81-L141) at `packages/astro/src/runtime/server/render/util.ts:81-141`:&lt;/p&gt;
&lt;p&gt;```javascript
export function addAttribute(value: any, key: string, shouldEscape = true, tagName = &amp;#39;&amp;#39;) {
    if (value == null) {
        return &amp;#39;&amp;#39;;
    }
    
    return markHTMLString(` ${key}=&amp;#34;${toAttributeString(value, shouldEscape)}&amp;#34;`); //  key interpolated not escaped
}
```&lt;/p&gt;
&lt;p&gt;This function is called from [`spreadAttributes`](https://github.com/withastro/astro/blob/main/packages/astro/src/runtime/server/index.ts#L91-L92) at `packages/astro/src/runtime/server/index.ts:91-92`:&lt;/p&gt;
&lt;p&gt;```javascript
for (const [key, value] of Object.entries(values)) {
    output += addAttribute(value, key, true, _name);
}
```&lt;/p&gt;
&lt;p&gt;The `toAttributeString` function escapes the attribute value, but the attribute name `key` is never validated or es…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-jrpj-wcv7-9fh9</guid>
    </item>
  </channel>
</rss>
