CVE-2026-126361
Astro is a web framework for content-driven websites. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096
- github.com/withastro/astro/pull/18520
- github.com/withastro/astro/releases/tag/[email protected]
- github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f
- nvd.nist.gov/vuln/detail/CVE-2026-126361
- github.com/advisories/GHSA-mh32-jxcr-mh9f
- nvd.nist.gov/vuln/detail/CVE-2026-126361
- cve.org/CVERecord?id=CVE-2026-126361
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.