NVD Vulnerability Detail
Search Exploit, PoC
CVE-2026-54298
Summary

Astro is a web framework. Prior to 6.4.6, the spreadAttributes function in Astro'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.

Publication Date June 23, 2026, 4:17 a.m.
Registration Date June 27, 2026, 4:11 a.m.
Last Update June 24, 2026, 2:17 a.m.
CVSS3.1 : MEDIUM
スコア 6.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* 6.4.6
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Astroにおけるクロスサイトスクリプティングの脆弱性
Title Astroにおけるクロスサイトスクリプティングの脆弱性
Summary

Astroはウェブフレームワークです。バージョン6.4.6より前のバージョンでは、AstroのサーバーサイドレンダリングパイプラインのspreadAttributes関数がオブジェクトのキーを反復処理し、それらをaddAttributeに直接渡します。この関数はキーをエスケープせずにHTML出力に埋め込みます。開発者がHTML要素に対してスプレッド構文{...props}を使用し、そのオブジェクトキーが信頼できないソース(API、CMS、URLパラメーター)から来る場合、攻撃者はonmousemoveやonclickのようなイベントハンドラーを含む任意のHTML属性を注入したり、属性コンテキストを完全に離れて新しい要素を注入することが可能です。この脆弱性はバージョン6.4.6で修正されました。

Possible impacts ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 22, 2026, midnight
Registration Date June 24, 2026, 9:59 a.m.
Last Update June 24, 2026, 9:59 a.m.
Affected System
Astro
Astro 6.4.6 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月24日]
  掲載
June 24, 2026, 9:59 a.m.