Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-54298: Astro is a web framework

23
Routine
MEDIUM 4.2UPGRADE

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 score4.2 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.2% (top 87%)
CISA exploited listNo
WeaknessCWE-79
Published2026-06-22
Last modified2026-10-25
Publisher (CNA): GitHub, Inc. · Vendor: astro

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

astro astro UPGRADE
Affected: < 6.4.6
Fixed in: 6.4.6
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls astro
2. UPGRADE to 6.4.6
npm install astro@">=6.4.6"
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.