CWE-918 is the Common Weakness Enumeration category for server-side request forgery, or SSRF. It describes flaws where an attacker tricks a server into making outbound requests on the attacker’s behalf. Instead of sending traffic directly to a target, the attacker abuses the application as a proxy, often reaching internal services, loopback interfaces, cloud metadata endpoints, or other network paths the attacker could not access from outside.
SSRF matters because servers usually have broader network trust than users do. A successful SSRF can expose internal data, bypass network filtering, scan private infrastructure, or trigger actions in connected services. In real attacks, it often appears in URL fetchers, webhook handlers, file import features, preview functions, and integrations that accept user-controlled destinations. Defenses include strict allowlists, blocking access to internal and metadata ranges, validating redirects, limiting outbound network access, and logging unexpected server-initiated requests. Treating CWE-918 as an exposure-control problem helps reduce both data leakage and lateral movement risk.


