Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-65019
VULNERABILITY

CVE-2025-65019

Common Vulnerabilities and Exposures record

MEDIUM

Summary

Astro is a web framework. Prior to version 5.15.9, when using Astro's Cloudflare adapter (@astrojs/cloudflare) with output: 'server', the image optimization endpoint (/_image) contains a critical vulnerability in the isRemoteAllowed() function that unconditionally allows data: protocol URLs. This enables Cross-Site Scripting (XSS) attacks through malicious SVG payloads, bypassing domain restrictions and Content Security Policy protections. This issue has been patched in version 5.15.9.

Risk

CVSS
5.4
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Timeline

Published
Nov 19, 2025 17:15
Modified
Oct 18, 2026 20:10
Last observed
Oct 20, 2026 19:29

CWE

CWE-79

Affected product identifiers

cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*

References