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.
Severity
LOW
CVSS v3
not scored
CVSS v4
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 · source cna
Exploit chance (EPSS)
0.315%
chance of exploitation in the next 30 days
higher than 24.8% of scored CVEs · 2026-11-18
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
- CWE-184: Incomplete List of Disallowed Inputs
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-17 |
Timeline
- 2026-11-12Published by the CNA22:26 UTC
- 2026-11-13GitHub advisory published (GHSA-mh32-jxcr-mh9f)1 day after publication
- 2026-11-13Published in NVD00:20 UTC · 1 hour 53 minutes after the CNA
- 2026-11-17CISA SSVC decision recorded5 days after publication
Exploit and advisory records
GitHub advisory GHSA-mh32-jxcr-mh9f, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm astro | before 7.4.5 | 7.4.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| withastro astro |
References
- https://github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096
- https://github.com/withastro/astro/pull/18520
- https://github.com/withastro/astro/releases/tag/astro@7.4.5
- https://github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-126361'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-126361'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-126361'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-126361'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).