DOM Clobbering Gadget found in astro's client-side router that leads to XSS
- Severity:
- Medium
Description
A DOM Clobbering gadget has been discoverd in Astro’s client-side router. 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.
Recommendation
Update the astro
package to the latest compatible version. Followings are version details:
- Affected version(s): >= 3.0.0, <= 4.16.0
- Patched version(s): 4.16.1
References
Related Issues
- Webrecorder packages are vulnerable to XSS through 404 error handling logic - CVE-2025-58765
- HFS user adding a "web link" in HFS is vulnerable to "target=_blank" exploit - Vulnerability
- Astros's duplicate trailing slash feature leads to an open redirection security issue - CVE-2025-54793
- Astro's server source code is exposed to the public if sourcemaps are enabled - CVE-2024-56159
- Tags:
- npm
- astro
Anything's wrong? Let us know Last updated on October 14, 2024