{"id":"CVE-2025-64745","published":"2025-11-13T20:26:13Z","modified":"2025-11-13T21:20:30Z","title":"Astro development server error page vulnerable to reflected Cross-site Scripting","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"Astro is a web framework. Starting in version 5.2.0 and prior to version 5.15.6, a Reflected Cross-Site Scripting (XSS) vulnerability exists in Astro's development server error pages when the `trailingSlash` configuration option is used. An attacker can inject arbitrary JavaScript code that executes in the victim's browser context by crafting a malicious URL. While this vulnerability only affects the development server and not production builds, it could be exploited to compromise developer environments through social engineering or malicious links. Version 5.15.6 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00262,"percentile":0.1841,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/pull/12994","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91","tags":["x_refsource_MISC"]},{"url":"https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149","tags":["x_refsource_MISC"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":3.68},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":[">= 5.2.0, < 5.15.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-13T21:19:45.808705Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":[">=5.2.0, <5.15.6"],"patched":["5.15.6"],"from":["GHSA-w2vj-39qv-7vh7"],"provenance":"source"}],"summary":{"text":"The Astro web framework's development server error pages contain a reflected Cross-site Scripting flaw when the trailingSlash configuration option is in use, affecting versions from 5.2.0 up to but not including 5.15.6. An attacker who gets a victim to open a crafted URL, which requires user interaction, such as clicking a malicious link, could run arbitrary JavaScript in the victim's browser; the issue affects only the development server, not production builds.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:50Z"},"euvd":{"id":"EUVD-2025-175382","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-61925","published":"2025-10-10","fixed":"5.14.3","kev":false},{"cve":"CVE-2025-64757","published":"2025-11-19","fixed":"5.14.3","kev":false},{"cve":"CVE-2025-64525","published":"2025-11-13","fixed":"5.15.5","kev":false,"link":{"from":"CVE-2025-64525","to":"CVE-2025-64745","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"5.15.5","toFixed":"5.15.6","daysApart":0}]}},{"cve":"CVE-2025-64745","published":"2025-11-13","fixed":"5.15.6","kev":false},{"cve":"CVE-2025-64764","published":"2025-11-19","fixed":"5.15.8","kev":false,"link":{"from":"CVE-2025-64745","to":"CVE-2025-64764","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"5.15.6","toFixed":"5.15.8","daysApart":6}]}},{"cve":"CVE-2025-64765","published":"2025-11-19","fixed":"5.15.8","kev":false,"link":{"from":"CVE-2025-64745","to":"CVE-2025-64765","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"5.15.6","toFixed":"5.15.8","daysApart":6}]}},{"cve":"CVE-2025-66202","published":"2025-12-08","fixed":"5.15.8","kev":false,"link":{"from":"CVE-2025-64745","to":"CVE-2025-66202","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"5.15.6","toFixed":"5.15.8","daysApart":25}]}}],"package":"npm:astro"}}