CVE-2025-64745 json
Astro development server error page vulnerable to reflected Cross-site Scripting
published 2025-11-13 11 mo ago modified 2026-10-18 21 d ago also EUVD-2025-175382 , GHSA-w2vj-39qv-7vh7
- cvss
- 2.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm astro 5.15.6
- astro astro 5.15.6
- github.com/withastro/astro@790d942 commit
- github.com/withastro/astro#12994 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N |
| GitHub | 3.1 | 2.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | astro | >=5.2.0, <5.15.6 |
5.15.6 |
Affected products
- withastro astro
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/withastro/astro/pull/12994
web, patch
-
github.com
/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
web, patch
-
github.com
/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
web, exploit, third-party-advisory
-
github.com
/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-64745
advisory
-
github.com
/withastro/astro
package
Sources
- CVE List CVE-2025-64745
- GitHub Advisory GHSA-w2vj-39qv-7vh7
- NVD CVE-2025-64745
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.