@angular/ssr is vulnerable to Server-Side Request Forgery (SSRF)
86
High Risk
The Angular SSR application engine incorporates reverse-proxy forwarding headers when building the effective request URL used during server rendering and related request handling. Earlier logic relied on patching and filtering those headers in a way that could still mis-handle certain decoded or normalized forms, so spoofed X-Forwarded-* values could skew the perceived host, scheme, port, or path that backs relative URL resolution and server-side HTTP behavior. The corrected implementation eagerly sanitizes forwarding headers under a secure default, applies stricter validation around allowed forwarded values when constructing URLs, exposes explicit opt-in via trustProxyHeaders (including configuration from environment variables), and supports deoptimizing to client-side rendering when forwarded metadata is not trustworthy.
You are affected if you are using a version that falls within the vulnerable range.
@angular/ssr is vulnerable to Server-Side Request Forgery (SSRF) in versions 17.0.0 - 19.2.24, 20.0.0 - 20.3.24, 21.0.0 - 21.2.8 and 22.0.0-next.0 - 22.0.0-next.6.
Upgrade the @angular/ssr library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant