CVE-2026-41423: Angular: SSRF via protocol-relative and backslash URLs in Angular Platform-Server
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8, a Server-Side Request Forgery (SSRF) vulnerability exists in @angular/platform-server due to improper handling of URLs during Server-Side Rendering (SSR). When an attacker sends a request such as GET /\evil.com/ HTTP/1.1 the server engine (Express, etc.) passes the URL string to Angular’s rendering functions. Because the URL parser normalizes the backslash to a forward slash for HTTP/HTTPS schemes, the internal state of the application is hijacked to believe the current origin is evil.com. This misinterpretation tricks the application into treating the attacker’s domain as the local origin. Consequently, any relative HttpClient requests or PlatformLocation.hostname references are redirected to the attacker controlled server, potentially exposing internal APIs or metadata services. This issue has been patched in versions 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-41423?
CVE-2026-41423 has been rated as a critical vulnerability due to its potential for Server-Side Request Forgery (SSRF) exploitation.
How do I fix CVE-2026-41423?
To fix CVE-2026-41423, upgrade to Angular Platform-Server versions 19.2.21, 20.3.19, 21.2.9, or 22.0.0-next.8 or later.
What versions of Angular Platform-Server are affected by CVE-2026-41423?
Angular Platform-Server versions prior to 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8 are affected by CVE-2026-41423.
What types of applications are impacted by CVE-2026-41423?
CVE-2026-41423 impacts web applications built using Angular Platform-Server that may be vulnerable to SSRF via certain URL formats.
What specific vulnerabilities are associated with CVE-2026-41423?
CVE-2026-41423 allows SSRF through the use of protocol-relative and backslash URLs in Angular Platform-Server.