Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nguniversal/common
  4. ›
  5. CVE-2026-27739

CVE-2026-27739: Angular SSR is vulnerable to SSRF and Header Injection via request handling pipeline

February 25, 2026

A Server-Side Request Forgery (SSRF) vulnerability has been identified in the Angular SSR request handling pipeline. The vulnerability exists because Angular’s internal URL reconstruction logic directly trusts and consumes user-controlled HTTP headers specifically the Host and X-Forwarded-* family to determine the application’s base origin without any validation of the destination domain.

Specifically, the framework didn’t have checks for the following:

  • Host Domain: The Host and X-Forwarded-Host headers were not checked to belong to a trusted origin. This allows an attacker to redefine the “base” of the application to an arbitrary external domain.
  • Path & Character Sanitization: The X-Forwarded-Host header was not checked for path segments or special characters, allowing manipulation of the base path for all resolved relative URLs.
  • Port Validation: The X-Forwarded-Port header was not verified as numeric, leading to malformed URI construction or injection attacks.

This vulnerability manifests in two primary ways:

  • Implicit Relative URL Resolution: Angular’s HttpClient resolves relative URLs against this unvalidated and potentially malformed base origin. An attacker can “steer” these requests to an external server or internal service.
  • Explicit Manual Construction: Developers injecting the REQUEST object to manually construct URLs (for fetch or third-party SDKs) directly inherit these unsanitized values. By accessing the Host / X-Forwarded-* headers, the application logic may perform requests to attacker-controlled destinations or malformed endpoints.

References

  • angular.dev/best-practices/security
  • developer.mozilla.org/en-US/docs/Web/Security/Attacks/SSRF
  • github.com/advisories/GHSA-x288-3778-4hhx
  • github.com/angular/angular-cli
  • github.com/angular/angular-cli/pull/32516
  • github.com/angular/angular-cli/security/advisories/GHSA-x288-3778-4hhx
  • nvd.nist.gov/vuln/detail/CVE-2026-27739

Code Behaviors & Features

Detect and mitigate CVE-2026-27739 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 16.2.0

Solution

Unfortunately, there is no solution available yet.

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/@nguniversal/common/CVE-2026-27739.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 26 Feb 2026 12:19:00 +0000.