CVE Explorer
CVE-2025-64745
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 envi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"astro","vendor":"withastro","versions":[{"status":"affected","version":">= 5.2.0, < 5.15.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:386803c0c9172b5c3c87438a0f0a7502e400b819f95f8ae0b552b59f85179786 · sha256:ff105957365a2968… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":2.7,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:386803c0c9172b5c3c87438a0f0a7502e400b819f95f8ae0b552b59f85179786 · sha256:ff105957365a2968… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:386803c0c9172b5c3c87438a0f0a7502e400b819f95f8ae0b552b59f85179786 · sha256:ff105957365a2968… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:386803c0c9172b5c3c87438a0f0a7502e400b819f95f8ae0b552b59f85179786 · sha256:ff105957365a2968… · /containers/cna/references/3
{"name":"https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:386803c0c9172b5c3c87438a0f0a7502e400b819f95f8ae0b552b59f85179786 · sha256:ff105957365a2968… · /containers/cna/references/2
{"name":"https://github.com/withastro/astro/pull/12994","tags":["x_refsource_MISC"],"url":"https://github.com/withastro/astro/pull/12994"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:386803c0c9172b5c3c87438a0f0a7502e400b819f95f8ae0b552b59f85179786 · sha256:ff105957365a2968… · /containers/cna/references/1
{"name":"https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:386803c0c9172b5c3c87438a0f0a7502e400b819f95f8ae0b552b59f85179786 · sha256:ff105957365a2968… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.