CVE Explorer
CVE-2026-54298
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"astro","vendor":"withastro","versions":[{"status":"affected","version":"< 6.4.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b1c9c2decaff867f032058bcac85614ae48143172f19e8f9abecd470de02e872 · sha256:ed59d5dff1a45a2b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.2,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b1c9c2decaff867f032058bcac85614ae48143172f19e8f9abecd470de02e872 · sha256:ed59d5dff1a45a2b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b1c9c2decaff867f032058bcac85614ae48143172f19e8f9abecd470de02e872 · sha256:ed59d5dff1a45a2b… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/withastro/astro/security/advisories/GHSA-jrpj-wcv7-9fh9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/withastro/astro/security/advisories/GHSA-jrpj-wcv7-9fh9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b1c9c2decaff867f032058bcac85614ae48143172f19e8f9abecd470de02e872 · sha256:ed59d5dff1a45a2b… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/withastro/astro/security/advisories/GHSA-jrpj-wcv7-9fh9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b1c9c2decaff867f032058bcac85614ae48143172f19e8f9abecd470de02e872 · sha256:ed59d5dff1a45a2b… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.