CVE-2026-126361
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.
How to fix
- withastro astro7.4.5 or later
- astro7.4.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | v < 7.4.5 | 7.4.5 |
| astronpm | v ≤ 7.4.4 | 7.4.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.