Skip to main content
VulnerabilityPublished

CVE-2026-126361: Astro · XSS via attribute injection in dynamic tag names

Affects astroSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126361· Low 2.3

Not known to be exploited · CVSS 2.3 Low : upgrade to 7.4.5 when convenient.

Data as of 13 Nov 2026, 19:37 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.02.3
Patch
Available – fixed in 7.4.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade astro to 7.4.5.

Affected software

ProductAffectedFixed in
npmastroAffected
  • <7.4.5
Fixed in
  • 7.4.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Astro version 7.4.5 or later, where the vulnerability is fixed. Before upgrading, avoid using untrusted input directly as element names or map such input to a fixed set of known safe tags. The vendor advisory confirms the fix and recommends these mitigations.

Description

Astro versions up to 7.4.4 have a reflected or stored cross-site scripting (XSS) vulnerability via attribute injection in dynamic tag names. When a dynamic tag resolves to a string containing a slash (/), Astro's filtering failed to prevent injection of attributes, allowing crafted tag names like 'img/src/onerror=alert(1)' to render as elements with malicious attributes. This affects applications that use untrusted input directly as element names. The issue is fixed in Astro 7.4.5, which properly restricts dynamic tag names to valid element names and throws errors for invalid ones.

References

Community reviews

Loading reviews…