Skip to content

astro

Unauthorized third-party images in Astro’s _image endpoint

CVE-2025-55303Published 19 Aug 2025, 18:08 UTC

Real-world risk

3.0/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.9

scored by the vendor (CNA), CVSS 4.0

In plain words

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

Original description (from GitHub_M)

Astro is a web framework for content-driven websites. In versions of astro before 5.13.2 and 4.16.18, the image optimization endpoint in projects deployed with on-demand rendering allows images from unauthorized third-party domains to be served. On-demand rendered sites built with Astro include an /_image endpoint which returns optimized versions of images. A bug in impacted versions of astro allows an attacker to bypass the third-party domain restrictions by using a protocol-relative URL as the image source, e.g. /_image?href=//example.com/image.png. This vulnerability is fixed in 5.13.2 and 4.16.18.

Am I affected?

ProductAffected versions (from the sources)Fixed in
astroCommon>= 5.0.0-alpha.0, < 5.13.2; < 4.16.185.13.2, 4.16.18

What to do

Update to a fixed version: 5.13.2, 4.16.18.

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)
  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.8% chance of exploitation in 30 days (percentile 57), 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. 19 Aug 2025 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 Reference tagged as exploit first seen
  4. 3 Dec 2026 CISA SSVC: proof of concept first seen
  5. 3 Dec 2026 Risk 3.0 (cvss fallback)

Weakness

CWE-79, CWE-115

References

Get alerts for astro

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