Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @angular/platform-server
  4. ›
  5. CVE-2026-41423

CVE-2026-41423: Angular: SSRF via protocol-relative and backslash URLs in Angular Platform-Server

April 16, 2026 (updated April 27, 2026)

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.

Affected APIs:

  • renderModule
  • renderApplication
  • CommonEngine (from @angular/ssr)

Non-Affected APIs:

  • AngularAppEngine (from @angular/ssr)
  • AngularNodeAppEngine (from @angular/ssr)

References

  • github.com/advisories/GHSA-45q2-gjvg-7973
  • github.com/angular/angular
  • github.com/angular/angular/pull/68194
  • github.com/angular/angular/security/advisories/GHSA-45q2-gjvg-7973
  • nvd.nist.gov/vuln/detail/CVE-2026-41423

Code Behaviors & Features

Detect and mitigate CVE-2026-41423 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 18.2.14, all versions starting from 19.0.0-next.0 before 19.2.21, all versions starting from 20.0.0-next.0 before 20.3.19, all versions starting from 21.0.0-next.0 before 21.2.9, all versions starting from 22.0.0-next.0 before 22.0.0-next.8

Fixed versions

  • 22.0.0-next.8
  • 21.2.9
  • 20.3.19
  • 19.2.21

Solution

Upgrade to versions 19.2.21, 20.3.19, 21.2.9, 22.0.0-next.8 or above.

Impact 9.3 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/@angular/platform-server/CVE-2026-41423.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:22 +0000.