CVE-2026-126361
Astro: XSS via attribute injection in dynamic tag names
Description
Astro is a web framework for content-driven websites. Prior to 7.4.5, Astro rendered a string used as a dynamic element name as raw HTML after applying an incomplete character filter. A / in the string could make an HTML parser treat the remainder as attributes, allowing untrusted element-name input to inject event-handler markup. The .astro dynamic-tag renderer, JSX renderer, and MDX renderer were affected, and exploitation required an application to use request-controlled or stored untrusted data as all or part of an element name. This issue is fixed in version 7.4.5.
INFO
Published Date :
Nov. 12, 2026, 10:26 p.m.
Last Modified :
Nov. 12, 2026, 10:26 p.m.
Remotely Exploit :
No
Source :
GitHub_M
Solution
- Update Astro to version 7.4.5 or later.
- Sanitize all dynamic element names.
- Avoid using untrusted data as element names.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-126361 vulnerability anywhere in the article.