CyberRota Analysis
AI-GeneratedAngular's Server-Side Rendering component in versions prior to 20.3.30, 21.2.22, and 22.1.4 is vulnerable to Server-Side Request Forgery (SSRF) due to improper handling of user-controlled URLs, which can lead to the disclosure of sensitive server-side credentials. Applications that utilize Angular and attach sensitive information, such as Authorization headers, to requests should prioritize upgrading to the patched versions to mitigate this high-severity risk. Organizations relying on Angular for web application development must address this vulnerability promptly to protect against potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.30, 21.2.22, and 22.1.4, Angular Server-Side Rendering in @angular/platform-server processes user-controlled resource or request URLs through HttpClient after application code validates them with WHATWG URL parsing. The resolveUrl and parseUrl utilities called String.prototype.trim(), which removed leading Unicode whitespace such as U+00A0 or U+FEFF after the input passed a same-origin check, converting a relative path into a protocol-relative attacker-controlled URL. In affected applications that attach sensitive server-side credentials such as Authorization headers to approved requests, relativeUrlsTransformerInterceptorFn then dispatched the request to the attacker-controlled origin, causing SSRF and credential disclosure. This issue is fixed in versions 20.3.30, 21.2.22, and 22.1.4.