Technical impact
Astro, a content‑driven web framework, rendered a string used as a dynamic element name as raw HTML after applying an incomplete character filter. The presence of a slash within that string could cause an HTML parser to treat the remainder of the value as attributes, letting an attacker inject event‑handler markup when the element name came from untrusted data. This flaw allows the execution of arbitrary JavaScript in the victim browser, exposing user‑session cookies or sensitive application information to the attacker.
Affected Systems
The vulnerability affected the .astro dynamic‑tag renderer, the JSX renderer, and the MDX renderer in Astro versions prior to 7.4.5. It is relevant to all Astro installations that use request‑controlled or stored untrusted data as all or part of an element name. The affected vendor is withastro:astro.
Risk and Exploitability
The CVSS score of 2.3 and an EPSS score of less than 1% indicate a low severity and low likelihood of exploitation. The flaw is not listed in CISA’s KEV catalog, and the attack requires the attacker to supply or influence the element name, limiting the impact to client‑side script execution. While the immediate threat is modest, failure to patch the framework could allow an attacker to perform phishing, data exfiltration, or session hijacking from affected users.
Github GHSA