vetkit.php.ssrf.request-url
An outbound HTTP request is sent to a URL taken from request input (server-side request forgery). Attackers can reach internal services and cloud metadata endpoints.
Last updated:
Suite: Security
php
An outbound HTTP request is sent to a URL taken from request input (server-side request forgery). Attackers can reach internal services and cloud metadata endpoints.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Validate the destination against an allow-list of hosts and block private / link-local ranges (wp_safe_remote_get in WordPress); never fetch arbitrary user-supplied URLs.
References
Source: packages/engine/rules/sast/php.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.