boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-54298MEDIUM
withastro astro — Astro: XSS via Unescaped Attribute Names in Spread Props
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   N   L   N   R  C  L  L  N    6.1   .0023   13.8     —
AFFECTED
  Product  Versions   Fixed
  astro    < 6.4.6 –  —
TIMELINE
  Jun 12  Reserved by GitHub_M
  Jun 22  EXPLOIT PUBLISHED — CVE-2026-54298 (withastro astro). Public exploit reference added.
  Jun 22  Published (CNA: GitHub_M)
CWE-79 · CNA: GitHub_M · CVSS v3.1 · 1 reference · NVD status: Modified

Description

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.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
June 12, 2026ReservedReserved by GitHub_M
June 22, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-54298 (withastro astro). Public exploit reference added.
June 22, 2026PublishedPublished (CNA: GitHub_M)

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
withastroastro< 6.4.6

Weaknesses

CWE-79

References (1)

Related

Authoritative record: CVE-2026-54298 at cve.org

Vendors: withastro

Weaknesses: CWE-79

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-54298 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.