XSS in Withastro Astro
CVE-2024-47885
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*…
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.009 (76.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H.
Affected products
- Withastro Astro — versions >=3.0.0, < 4.16.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/withastro/astro/security/advisories/GHSA-m85w-3h95-hcf9 (x_refsource_CONFIRM)
- https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e (x_refsource_MISC)
- https://github.com/withastro/astro/blob/7814a6cad15f06931f963580176d9b38aa7819f2/packages/astro/src/transitions/router.ts#L135-L156 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-47885?
- CVE-2024-47885 is a medium-severity vulnerability in Withastro Astro, classified under Cross-site Scripting. CVSS score: 5.9/10. Published 2024-10-14.
- How severe is CVE-2024-47885?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2024-47885 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.