CVE-2026-54300: CWE-918: Server-Side Request Forgery (SSRF) in withastro astro
CVE-2026-54300 is a Server-Side Request Forgery (SSRF) vulnerability in the @astrojs/netlify adapter for the Astro framework. Prior to version 7.0.13, the adapter incorrectly converts Astro image.remotePatterns into Netlify Image CDN regular expressions with broader matching semantics, allowing apex hosts and deeper paths to match unexpectedly. This issue is fixed in version 7.0.13. The vulnerability has a medium severity with a CVSS score of 5.3 and does not require privileges or user interaction to exploit.
AI Analysis
Technical Summary
The vulnerability arises from the @astrojs/netlify adapter's handling of image.remotePatterns prior to version 7.0.13. It converts wildcard hostnames and pathnames into regular expressions that are broader than intended, causing apex hosts to match optional subdomain wildcards and pathnames to match deeper paths without proper anchoring. This misconfiguration can lead to Server-Side Request Forgery (CWE-918), where an attacker may induce the server to make unintended requests. The issue is resolved in version 7.0.13.
Potential Impact
An attacker can exploit the broader regular expression matching to perform SSRF attacks, potentially causing the server to make unauthorized requests to internal or external resources. The CVSS score of 5.3 indicates a medium impact with confidentiality loss but no integrity or availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade the @astrojs/netlify adapter to version 7.0.13 or later, where the vulnerability is fixed. No other mitigation steps are indicated by the vendor advisory.
CVE-2026-54300: CWE-918: Server-Side Request Forgery (SSRF) in withastro astro
Description
CVE-2026-54300 is a Server-Side Request Forgery (SSRF) vulnerability in the @astrojs/netlify adapter for the Astro framework. Prior to version 7.0.13, the adapter incorrectly converts Astro image.remotePatterns into Netlify Image CDN regular expressions with broader matching semantics, allowing apex hosts and deeper paths to match unexpectedly. This issue is fixed in version 7.0.13. The vulnerability has a medium severity with a CVSS score of 5.3 and does not require privileges or user interaction to exploit.
CVSS v3.1
Score 5.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the @astrojs/netlify adapter's handling of image.remotePatterns prior to version 7.0.13. It converts wildcard hostnames and pathnames into regular expressions that are broader than intended, causing apex hosts to match optional subdomain wildcards and pathnames to match deeper paths without proper anchoring. This misconfiguration can lead to Server-Side Request Forgery (CWE-918), where an attacker may induce the server to make unintended requests. The issue is resolved in version 7.0.13.
Potential Impact
An attacker can exploit the broader regular expression matching to perform SSRF attacks, potentially causing the server to make unauthorized requests to internal or external resources. The CVSS score of 5.3 indicates a medium impact with confidentiality loss but no integrity or availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade the @astrojs/netlify adapter to version 7.0.13 or later, where the vulnerability is fixed. No other mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T17:46:37.294Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a398861eed863c81e5021d1
Added to database: 06/22/2026, 19:09:21 UTC
Last enriched: 06/22/2026, 19:24:32 UTC
Last updated: 06/23/2026, 01:50:14 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.