{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-47885","published":"2024-10-14T19:15:10.903000Z","last_modified":"2026-06-17T07:57:55.130000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*","part":"a","vendor":"astro","product":"astro","version_start_including":"3.0.0","version_end_excluding":"4.16.1"}],"cpes_truncated":false,"vendors":["astro"],"products":["astro/astro"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00689,"percentile":0.48085,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-m85w-3h95-hcf9","ecosystem":"npm","name":"astro","purl":"pkg:npm/astro","ranges":[{"introduced":"3.0.0","fixed":"4.16.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2024-47885/","html_en":"/en/cve/CVE-2024-47885/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-47885","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-47885"},"untrusted":{"vendor_name":"Astro","product_name":"Astro","desc_en":"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.","affected":[{"untrusted_vendor":"withastro","untrusted_product":"astro","versions":[]}],"references":[{"url":"https://github.com/withastro/astro/blob/7814a6cad15f06931f963580176d9b38aa7819f2/packages/astro/src/transitions/router.ts#L135-L156","tags":["Product"]},{"url":"https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e","tags":["Patch"]},{"url":"https://github.com/withastro/astro/security/advisories/GHSA-m85w-3h95-hcf9","tags":["Vendor Advisory"]}]}}