Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-59727 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-116Improper Encoding or Escaping of Output[email protected]
CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')[email protected]
CWE-83Improper Neutralization of Script in Attributes in a Web Page[email protected]

Affected Products

ProductVersions
Astro
>= 3.10.0, < 7.0.4 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 7.0.4moderate efforthttps://github.com/withastro/astro/releases/tag/astro%407.0.4
  • Mitigation:low effort

    Do not pass untrusted or request-derived input into the transition:persist, transition:scope, or transition:persist-props directives. If such input is required, HTML-escape or strictly validate it before passing it to the directive.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-59727
NVD Published Date:
Jul 27, 2026
NVD Last Modified:
Jul 28, 2026
Source:
[email protected]
CVE-2026-59727 Details - Not Deferred