@angular/platform-server is vulnerable to Server-Side Request Forgery (SSRF)
39
Low Risk
Angular's server-side URL parser called trim() before checking whether a URL was relative or absolute, and trim() strips Unicode whitespace characters such as non-breaking space and byte order mark. A URL string prefixed with one of these characters followed by // was converted into a protocol-relative URL, bypassing the same-origin check Angular's HTTP client uses to keep server-side requests on the expected origin. This let a URL that should resolve to the local origin instead resolve to an externally-controlled origin during server-side rendering. The fix removes the trim() call so such inputs are treated as inert relative paths on the original origin.
You are affected if you are using a version that falls within the vulnerable range and your application passes externally-influenced URL strings into an HTTP request made during server-side rendering.
@angular/platform-server is vulnerable to Server-Side Request Forgery (SSRF) in versions 20.3.24 - 20.3.29, 21.2.16 - 21.2.21 and 22.1.0 - 22.1.3.
Upgrade the @angular/platform-server 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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.