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.
Severity (CVSS)
| Base score | 2.3 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation
- CWE-184 — CWE-184: Incomplete List of Disallowed Inputs
Affected products
| Vendor | Product | Versions |
|---|---|---|
| withastro | astro | < 7.4.5 [affected] |
References
- https://github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f (x_refsource_CONFIRM)
- https://github.com/withastro/astro/pull/18520 (x_refsource_MISC)
- https://github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096 (x_refsource_MISC)
- https://github.com/withastro/astro/releases/tag/astro@7.4.5 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 13 Nov 2026 08:05 UTC.