CVE-2026-59727
Last modified
CVE-2026-59727 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. 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 <astro-island> element without HTML-escaping it. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
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 <astro-island> 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.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| withastro | astro | >= 3.10.0, < 7.0.4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59727?
How severe is CVE-2026-59727?
How do I fix CVE-2026-59727?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59720Hoppscotch is an open source API development ecosystem. Prio…7.5
- CVE-2026-59721Hoppscotch is an open source API development ecosystem. Prio…7.2
- CVE-2026-59723Cline is an autonomous coding agent as an SDK, IDE extension…8.8
- CVE-2026-59724Socket.IO enables bidirectional and low-latency communicatio…7.5
- CVE-2026-59725Socket.IO enables bidirectional and low-latency communicatio…7.5
- CVE-2026-59726Ruflo is an agent meta-harness for Claude Code and Codex. Pr…10
- CVE-2026-59728Astro is a web framework for content-driven websites. In ver…4.3
- CVE-2026-59729Astro is a web framework for content-driven websites. Versio…5.1
- CVE-2026-5973A vulnerability was found in FoundationAgents MetaGPT up to …9.8
- CVE-2026-59730Astro is a web framework for content-driven websites. In ver…2.1
- CVE-2026-59731Astro is a web framework for content-driven websites. Versio…8.2
- CVE-2026-59732Rclone is a command-line program to sync files and directori…5
Are you affected by CVE-2026-59727?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
