Read the docs
TI-2024-32139 Aliases CVE-2024-47885GHSA-m85w-3h95-hcf9

astro's client-side router has DOM Clobbering Gadget that leads to XSS

Priority MEDIUM 60CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

The Astro web framework has a DOM Clobbering gadget in the client-side router starting in version 3.0.0 and prior to version 4.16.1. It can lead to cross-site scripting (XSS) in websites enables Astro's client-side routing and has *stored* attacker-controlled scriptless HTML elements (i.e., `iframe` tags with unsanitized `name` attributes) on the destination pages. This vulnerability can result in cross-site scripting (XSS) attacks on websites that built with Astro that enable the client-side routing with `ViewTransitions` and store the user-inserted scriptless HTML tags without properly sanitizing the `name` attributes on the page. Version 4.16.1 contains a patch for this issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00445 38th percentileScored 2026-11-07
Fix Fixed astro (withastro): 4.16.1astro (npm): 4.16.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
withastroastro3.0.0 to before 4.16.14.16.1Patch availableCNA
—astro (npm)3.0.0 to before 4.16.14.16.1Patch availableGHSA-m85w-3h95-hcf9
  • astro Vendorwithastro Affected 3.0.0 to before 4.16.1 Fixed in 4.16.1 Patch available CNA
  • astro (npm) Vendor— Affected 3.0.0 to before 4.16.1 Fixed in 4.16.1 Patch available GHSA-m85w-3h95-hcf9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*3.0.0 to before 4.16.1Vulnerablewithastro
  • cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* Versions 3.0.0 to before 4.16.1 Vulnerable ·withastro

Remediation

  • Fix · CNA astro (withastro) Fixed in 4.16.1
  • Fix · GHSA-m85w-3h95-hcf9 astro (npm) Fixed in 4.16.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-47885
  2. 2026-10-03 Alias added: GHSA-m85w-3h95-hcf9

References

  • TI-2024-37142 Server source code is exposed to the public if sourcemaps are enabled CVSS 4.0HIGH 7.8
  • TI-2025-34958 Unauthorized third-party images in Astro’s _image endpoint CVSS 4.0MEDIUM 6.9
  • TI-2025-39915 Server-side request forgery in withastro astro CVSS 3.1MEDIUM 6.5
  • TI-2025-38274 Astro's `X-Forwarded-Host` is reflected with no validation CVSS 3.1MEDIUM 6.5
  • TI-2026-36915 Astro: Reflected XSS via unescaped slot name CVSS 3.1HIGH 7.1
  • TI-2025-40102 Astro is vulnerable to Reflected XSS via the server islands feature CVSS 3.1HIGH 7.1
See all 19 →

Sources