Features that fetch documents, retrieve images, or deliver callbacks can become request paths into internal services, local interfaces, or external systems. The server may have network access or credentials unavailable to the attacker. Cloud metadata services are particularly sensitive because they can expose workload credentials.
The Open Worldwide Application Security Project (OWASP) listed SSRF separately as A10:2021; its released 2025 Top 10 includes SSRF within A01 Broken Access Control. This change in classification does not change the attack mechanism.
Key points
Destination controlsRestrict permitted schemes, hosts, ports, and resolved addresses according to the feature’s purpose; account for redirects and changes in name resolution.
Network boundaryConstrain outbound access and access to metadata services so a vulnerable fetch function cannot reach every service available to the host.
Metadata service protectionWhere supported, requiring session tokens and disabling tokenless access can reduce some metadata-abuse paths.
Important limitationMetadata service protections do not repair SSRF or protect unrelated destinations. An attacker may cause effects without receiving the fetched response, and simple address blocklists can miss alternative representations or resolution changes.