CVE-2026-126361
LOW 2.3CVSS 4.0Astro: XSS via attribute injection in dynamic tag names
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.
- Published
- 13 Nov 2026
- Last modified
- 17 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-184CWE-79
- Also known as
- GHSA-mh32-jxcr-mh9f
- Sources
- NVDJSONOSV GHSA-mh32-jxcr-mh9fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | astro | < 7.4.5 | 7.4.5 |
References
- https://github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096 · WEB
- https://github.com/withastro/astro/pull/18520 · WEB
- https://github.com/withastro/astro/releases/tag/astro@7.4.5 · WEB
- https://github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-126361 · ADVISORY
- https://github.com/withastro/astro · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Nov 2026)