CVE-2026-126361
Astro: 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.315% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 2.3 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Assessment source · checked 2026-11-19T12:01:40.913Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:01:40.913Z | CVE Program |
| epss | verified | 2026-11-19T18:27:16.248Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:58.264Z | OSV |
| affected | verified | 2026-11-19T12:01:40.913Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:40.913Z | CVE Program |
Affected versions and configuration
withastro astro; default status: unknown: < 7.4.5 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
OSV · osv · full conditions
{
"id": "GHSA-mh32-jxcr-mh9f",
"aliases": [
"CVE-2026-126361"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.4.5"
}
]
}
],
"package": {
"name": "astro",
"purl": "pkg:npm/astro",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-mh32-jxcr-mh9f/GHSA-mh32-jxcr-mh9f.json",
"last_known_affected_version_range": "<= 7.4.4"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126361",
"type": "ADVISORY"
},
{
"url": "https://github.com/withastro/astro/pull/18520",
"type": "WEB"
},
{
"url": "https://github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096",
"type": "WEB"
},
{
"url": "https://github.com/withastro/astro",
"type": "PACKAGE"
},
{
"url": "https://github.com/withastro/astro/releases/tag/[email protected]",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-184",
"CWE-79"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2026-11-13T00:20:11Z",
"github_reviewed_at": "2026-11-13T18:39:54Z"
}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "withastro",
"product": "astro",
"versions": [
{
"status": "affected",
"version": "< 7.4.5"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-126361",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-17T19:15:39.162222Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-17T19:15:51.928Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | astro | Not a distribution channel | 7.4.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:01:40.913ZArchived source JSON
Source publication: 2026-11-12T22:26:35.206Z
Source modification: 2026-11-17T19:15:51.928ZDocument fingerprint
683b874f6f740f2780f19d3442e146e4b3146baaa5d913fb8e8a6ba5367e1857 - OSVConsulted: 2026-11-19T12:51:58.264ZArchived source JSON
Source publication: 2026-11-13T18:39:54.000Z
Source modification: 2026-11-13T19:15:05.517ZDocument fingerprint
998ec8a32f8114f4f6dc251a8df217dbe4184aa39326838d5043215d1ada1359 - FIRST EPSSConsulted: 2026-11-19T18:27:16.248ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
dcae036316c84a2e307bf909d472719ee9beccd4f1721e7a1d03e98a47f2acff - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence