Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-tkwe-8ejd-mfb6
Vulnerability ID VCID-tkwe-8ejd-mfb6
Aliases CVE-2025-64745
GHSA-w2vj-39qv-7vh7
Summary Astro development server error page is vulnerable to reflected Cross-site Scripting 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.
Status Published
Exploitability 0.5
Weighted Severity 2.7
Risk 1.4
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
epss 0.00033 https://api.first.org/data/v1/epss?cve=CVE-2025-64745
epss 0.00033 https://api.first.org/data/v1/epss?cve=CVE-2025-64745
cvssv3.1_qr LOW https://github.com/advisories/GHSA-w2vj-39qv-7vh7
cvssv3.1 2.7 https://github.com/withastro/astro
generic_textual LOW https://github.com/withastro/astro
cvssv3.1 2.7 https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149
generic_textual LOW https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149
ssvc Track https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149
cvssv3.1 2.7 https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
generic_textual LOW https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
ssvc Track https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
cvssv3.1 2.7 https://github.com/withastro/astro/pull/12994
generic_textual LOW https://github.com/withastro/astro/pull/12994
ssvc Track https://github.com/withastro/astro/pull/12994
cvssv3.1 2.7 https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
cvssv3.1_qr LOW https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
generic_textual LOW https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
ssvc Track https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
cvssv3.1 2.7 https://nvd.nist.gov/vuln/detail/CVE-2025-64745
generic_textual LOW https://nvd.nist.gov/vuln/detail/CVE-2025-64745
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/withastro/astro
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-11-13T21:19:45Z/ Found at https://github.com/withastro/astro/blob/5bc37fd5cade62f753aef66efdf40f982379029a/packages/astro/src/template/4xx.ts#L133-L149
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-11-13T21:19:45Z/ Found at https://github.com/withastro/astro/commit/790d9425f39bbbb462f1c27615781cd965009f91
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/withastro/astro/pull/12994
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-11-13T21:19:45Z/ Found at https://github.com/withastro/astro/pull/12994
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-11-13T21:19:45Z/ Found at https://github.com/withastro/astro/security/advisories/GHSA-w2vj-39qv-7vh7
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2025-64745
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.10028
EPSS Score 0.00033
Published At June 5, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-02T04:48:28.005690+00:00 GitLab Importer Import https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/astro/CVE-2025-64745.yml 38.6.0