Cloudanix VulnDB

CVE-2025-64745

Low · 2.7

Astro development server error page vulnerable to reflected Cross-site Scripting

CVSS

2.7

EPSS

0.3%

Published

Nov 13, 2025

CISA due date

—

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
npm astro 5.2.0 5.15.6

Related vulnerabilities