CVE Explorer
CVE-2026-59729
Astro is a web framework for content-driven websites. Versions prior to 7.0.6 are vulnerable to XSS through unescaped spread attribute names in renderHTMLElement. The fix for CVE-2026-54298 (GHSA-jrpj-wcv7-9fh9) added an INVALID_ATTR_NAME_CHAR guard to addAttribute() so that spread-prop attribute names containing "' >/= or whitespace are dropped. A second attribute-rendering path, renderHTMLElement() in packages/astro/src/runtime/server/render/dom.ts, has its own inline attribute loop that does
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":"< 7.0.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /containers/cna/metrics/0/cvssV4_0
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:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/withastro/astro/commit/5240e26c9dd91f9bc7140dcfacdb48d5a132830d","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/commit/5240e26c9dd91f9bc7140dcfacdb48d5a132830d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /containers/cna/references/2
{"name":"https://github.com/withastro/astro/pull/17251","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/pull/17251"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /containers/cna/references/1
{"name":"https://github.com/withastro/astro/releases/tag/astro@7.0.6","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/releases/tag/astro@7.0.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /containers/cna/references/3
{"name":"https://github.com/withastro/astro/security/advisories/GHSA-f48w-9m4c-m7f5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/withastro/astro/security/advisories/GHSA-f48w-9m4c-m7f5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/withastro/astro/security/advisories/GHSA-f48w-9m4c-m7f5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4297f3ae52b5ff8b361e677fb94ec595783fda0f040945852d05c1312c6c322b · sha256:e8c6628689704ae6… · /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.