Skip to content

astro

Astro: URL manipulation via unsanitized headers leads to path-based middleware protections bypass, potential SSRF/cache-poisoning, CVE-2025-61925 bypass

CVE-2025-64525Published 13 Nov 2025, 15:58 UTC

Real-world risk

3.0/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

Astro is a web framework. In Astro versions 2.16.0 up to but excluding 5.15.5 which utilizeon-demand rendering, request headers `x-forwarded-proto` and `x-forwarded-port` are insecurely used, without sanitization, to build the URL. This has several consequences, the most important of which are: middleware-based protected route bypass (only via `x-forwarded-proto`), DoS via cache poisoning (if a CDN is present), SSRF (only via `x-forwarded-proto`), URL pollution (potential SXSS, if a CDN is present), and WAF bypass. Version 5.15.5 contains a patch.

Am I affected?

ProductAffected versions (from the sources)Fixed in
astroCommon>= 2.16.0, < 5.15.55.15.5

What to do

Update to a fixed version: 5.15.5.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)
  • CISA SSVC: proof of concept

EPSS 1.2% chance of exploitation in 30 days (percentile 70), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.3 × prerequisites 1 × threat 13.000
  4. Rounded to one decimal between 0.1 and 103.0

How the score works

Exploitation and evidence timeline

  1. 13 Nov 2025 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 3.0 (cvss fallback)

Weakness

CWE-918

References

Get alerts for astro

Free email or text alerts when a vulnerability in astro reaches risk 8 or higher. Nothing else.