CrowdSecLive Exploit Tracker
Limited ExploitationCVE-2025-55303Public Exploit

Astro - XSS (CVE-2025-55303)

PublishedAug 19, 2025
First SeenFeb 12, 2026
Last Seen
Reported
CVSS6.9
web_applicationjavascript

Description

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.

psychologyCrowdSec Analysis

CVE-2025-55303 is a vulnerability in the Astro web framework that allows attackers to bypass domain restrictions on the image optimization endpoint, enabling unauthorized third-party images to be served via protocol-relative URLs. This flaw could be exploited to facilitate cross-site scripting (XSS) or content injection attacks, potentially compromising the security of content-driven websites built with affected versions of Astro.

CrowdSec has been tracking this vulnerability and its exploits since 11th of February 2026.

Data from the CrowdSec community indicates that exploitation of CVE-2025-55303 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2025-55303. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.

Attackers exploit the image optimization endpoint by sending requests to URLs containing /_image?href=// followed by a third-party domain, allowing unauthorized access to external images. This targets Astro deployments with on-demand rendering and can lead to information disclosure or content spoofing.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2025-08-19
Rule Released2026-02-11
CrowdSec First Seen2026-02-12

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.