Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-46417
Published:May 20, 2026
Updated:May 20, 2026
Impact 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. Fix Information The vulnerability is mitigated by introducing an Allowlist Mechanism directly into the core rendering APIs. The renderModule and renderApplication functions now include an allowedHosts configuration option. The rendering engine validates the hostname extracted from the request URL against this list before proceeding. If the hostname does not match an allowed entry, the engine prevents the hostname hijacking, ensuring that HttpClient requests remain restricted to trusted domains. Patches - 22.0.0-next.12 - 21.2.13 - 20.3.21 - 19.2.22 Workarounds Developers unable to update immediately should implement strict URL validation in their server entry point (e.g., "server.ts"). Ensure that "req.url" is validated against a known list of trusted hostnames or normalized to a relative path before being passed to"renderApplication" or "renderModule". // Example manual normalization in Express app.get('*', (req, res, next) => { const trustedHost = 'localhost:4000'; // Ensure the request target matches expectations if (req.headers.host !== trustedHost) { return res.status(403).send('Forbidden'); } next(); });
Affected Packages
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=v21.2.0 <v21.2.13
Fix Suggestion:
Update to version v21.2.13
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=v20.3.16 <v20.3.21
Fix Suggestion:
Update to version v20.3.21
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=v19.2.18 <v19.2.22
Fix Suggestion:
Update to version v19.2.22
@angular/platform-server (NPM):
Affected version(s) >=21.0.0-next.0 <21.2.13
Fix Suggestion:
Update to version 21.2.13
@angular/platform-server (NPM):
Affected version(s) >=22.0.0-next.0 <22.0.0-next.12
Fix Suggestion:
Update to version 22.0.0-next.12
@angular/platform-server (NPM):
Affected version(s) >=19.0.0-next.0 <19.2.22
Fix Suggestion:
Update to version 19.2.22
@angular/platform-server (NPM):
Affected version(s) >=20.0.0-next.0 <20.3.21
Fix Suggestion:
Update to version 20.3.21
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Server-Side Request Forgery (SSRF)