CVE-2026-54298: Astro is a web framework
CVE-2026-54298 is a medium-severity flaw (CVSS 4.2) affecting astro. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 inclu
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.2 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 87%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-06-22 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-54298?
astro: upgrade to 6.4.6. Exact commands for each OS are on this page.
Is CVE-2026-54298 being exploited?
CVE-2026-54298 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-54298 affect?
CVE-2026-54298 affects astro. Severity is medium (CVSS 4.2). 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 es
How urgent is CVE-2026-54298?
Priority 23/100. Public exploit reference
Related CVEs
- CVE-2026-54299 HIGH 7.5 UPGRADE Astro is a web framework
- CVE-2026-50146 HIGH 7.1 UPGRADE Astro is a web framework