Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. astro
  4. ›
  5. CVE-2025-59837

CVE-2025-59837: Astro's bypass of image proxy domain validation leads to SSRF and potential XSS

October 28, 2025 (updated October 29, 2025)

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.

References

  • github.com/advisories/GHSA-qcpr-679q-rhm2
  • github.com/withastro/astro
  • github.com/withastro/astro/commit/1e2499e8ea83ebfa233a18a7499e1ccf169e56f4
  • github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252
  • github.com/withastro/astro/security/advisories/GHSA-qcpr-679q-rhm2
  • nvd.nist.gov/vuln/detail/CVE-2025-59837

Code Behaviors & Features

Detect and mitigate CVE-2025-59837 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.13.4 before 5.13.10

Fixed versions

  • 5.13.10

Solution

Upgrade to version 5.13.10 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/astro/CVE-2025-59837.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 05 Dec 2025 12:20:10 +0000.