Astro is a web framework for content-driven websites. In versions 3.10.0 through 7.0.3, when a transition:persist, transition:scope, or transition:persist-props directive is applied to a client-hydrated (client:*) component, Astro copied the directive value onto the rendered element without HTML-escaping it. If a developer reflects attacker-controlled input into one of these directives, an attacker can break out of the attribute and inject arbitrary HTML/JavaScript into the server-rendered output, resulting in reflected cross-site scripting (XSS). Exploitation requires the application developer to have written a non-idiomatic pattern — passing untrusted, request-derived input directly into a transition directive. Astro applications that do not route untrusted input into these directives are unaffected. This issue has been fixed in version 7.0.4.
CVE-2026-59727
This low-severity CVE scores 2.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 77% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 2.1
- EG Score
- 2.1(medium)
- EG Risk
- 25(Track)EG Risk 25/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity21% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 24%
- KEV
- Not listed
Published
July 20, 2026
Last Modified
July 28, 2026
References (5)
- security-advisories@githubhttps://github.com/withastro/astro/commit/7ba0bb1dc7516e88caff9abd7767322af44b0294
- security-advisories@githubhttps://github.com/withastro/astro/pull/17212
- security-advisories@githubhttps://github.com/withastro/astro/releases/tag/[email protected]
- security-advisories@githubhttps://github.com/withastro/astro/security/advisories/GHSA-7pw4-f3q4-r2p2
- 134c704f-9b21-4f2e-91b3-4a467353bcc0https://github.com/withastro/astro/security/advisories/GHSA-7pw4-f3q4-r2p2
Vendor Advisories for CVE-2026-59727(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| astro | — | 7.0.4 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 11:45 UTCEG score recompute
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 09:19 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 03:24 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 21:41 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-23 14:17 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 08:34 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
Show 33 moreShow fewer
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 02:52 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 21:09 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 15:22 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-07 09:39 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-04 03:57 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 22:14 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 16:31 UTCEG score recompute
- 2026-07-28 15:39 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 20:22 UTCEG score recompute
- 2026-07-27 19:55 UTCEG score recompute▲ 2.10
- 2026-07-27 19:54 UTCMITRE cvelistV5CVSS v3 → 2.1 · CVSS v4 → 2.1
- 2026-07-26 10:45 UTCEG score recompute
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-20 23:33 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-59727?
When was CVE-2026-59727 disclosed?
Is CVE-2026-59727 actively exploited?
What is the CVSS score of CVE-2026-59727?
How do I remediate CVE-2026-59727?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59727
Is Your Infrastructure Affected by CVE-2026-59727?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.