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

CVE-2026-46417: @angular/platform-server: SSRF via Hostname Hijacking

May 19, 2026 (updated July 15, 2026)

A Server-Side Request Forgery (SSRF) vulnerability exists in @angular/platform-server. The issue stems from how the server-side rendering (SSR) engine processes the request URL provided to the rendering entry points.

When an absolute-form URL (e.g., http://evil.com) is passed to the rendering engine, the internal ServerPlatformLocation can be manipulated into adopting the attacker-controlled domain as the “current” hostname.

Consequently, any relative HttpClient requests or PlatformLocation.hostname references are redirected to the attacker controlled server, potentially exposing internal APIs or metadata services.

References

  • access.redhat.com/security/cve/CVE-2026-46417
  • bugzilla.redhat.com/show_bug.cgi?id=2491444
  • github.com/advisories/GHSA-rfh7-fxqc-q52v
  • github.com/angular/angular/pull/68570
  • github.com/angular/angular/security/advisories/GHSA-rfh7-fxqc-q52v
  • nvd.nist.gov/vuln/detail/CVE-2026-46417
  • security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46417.json

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 18.2.14, all versions starting from 19.0.0-next.0 before 19.2.22, all versions starting from 20.0.0-next.0 before 20.3.21, all versions starting from 21.0.0-next.0 before 21.2.13, all versions starting from 22.0.0-next.0 before 22.0.0-next.12

Fixed versions

  • 19.2.22
  • 20.3.21
  • 21.2.13
  • 22.0.0-next.12

Solution

Upgrade to versions 19.2.22, 20.3.21, 21.2.13, 22.0.0-next.12 or above.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:59 +0000.