CVE-2026-126361 json
Astro: XSS via attribute injection in dynamic tag names
published 5d ago modified yesterday also EUVD-2026-124742 , GHSA-mh32-jxcr-mh9f
- cvss
- 2.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm astro 7.4.5
- github.com/withastro/astro@e023aba commit
- github.com/withastro/astro#18520 pull request
- github.com/withastro/astro/releases/tag/astro@7.4.5 release
Is CVE-2026-126361 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-14).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | astro | <7.4.5 |
7.4.5 |
Affected products
- withastro astro
Classification
References
-
github.com
/withastro/astro/pull/18520
web
-
github.com
/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096
web
-
github.com
/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f
web, advisory
-
github.com
/withastro/astro/releases/tag/astro@7.4.5
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-126361
advisory
-
github.com
/withastro/astro
package
Sources
- CVE List CVE-2026-126361
- GitHub Advisory GHSA-mh32-jxcr-mh9f
- NVD CVE-2026-126361
- Maintainer advisory GHSA-mh32-jxcr-mh9f
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of withastro/astro published their own advisory on GitHub. Reviewed sources take precedence over it.