Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Angular SSR endpoint
-
DeliverySend request with malformed Host header
-
ExploitBypass URL.canParse allowlist check
-
ExecutionDomino adopts attacker origin
-
PersistRelative HttpClient calls rewrite to attacker
-
ImpactExfiltrate session tokens and inject response content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitation requires four conditions to hold simultaneously on the target: (1) the application runs Angular SSR via @angular/platform-server; (2) the SSR handler reconstructs the request URL from raw client inputs (Host header or absolute-form request URI) and passes it as config.url to renderApplication/renderModule; (3) the application performs outbound backend calls using relative paths (e.g., this.http.get('/api/...')) that go through the base-URL rewriting interceptor; and (4) the allowedHosts option is configured (the bypass specifically defeats this control). No authentication or user interaction is required (PR:N/UI:N) and the malformed-port payload works against default-deny allowlists. Apps that hardcode an absolute backend origin, do not issue server-side HttpClient calls, or do not enable SSR are not exploitable. |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N) accurately reflects a network-reachable, no-auth, no-UI SSRF with high confidentiality impact - credentials, session cookies, and internal API tokens carried by SSR-side HttpClient calls leak to the attacker. Real-world risk is meaningful for any Angular SSR deployment relying on allowedHosts as a security boundary, particularly those that rebuild config.url from raw Host headers behind a reverse proxy. No KEV listing, no EPSS score, and no public exploit code were provided, suggesting opportunistic mass exploitation is not yet underway; however, the trigger (a single crafted Host header) is trivially automatable. Mitigating factor: exploitation requires the four concurrent preconditions enumerated in the advisory (SSR active, header-derived URL propagation, relative outbound HTTP, allowedHosts configured), so apps that hardcode an origin or do not call backend APIs server-side are not exposed. |
| Exploit ScenarioDerived | An attacker sends an HTTP request to a public Angular SSR endpoint with a malformed Host header such as 'Host: attacker.example:80:80' (or an absolute-form request URI). The SSR handler reconstructs config.url from this header and passes it into renderApplication; URL.canParse rejects the value so the allowedHosts check is skipped, while Domino accepts it and adopts 'http://attacker.example:80' as the document origin. All relative HttpClient calls made during rendering (e.g., this.http.get('/api/me')) are then issued to attacker.example, exfiltrating session cookies, bearer tokens, and internal API responses, and the attacker's reply is injected into the server-rendered HTML returned to the victim. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 22, 2026
Server-side request forgery in @angular/platform-server allows remote unauthenticated attackers to bypass the allowedHosts allowlist by sending a malformed Host header or absolute-form request URI (e.g., 'evil.com:80:80'), causing the SSR runtime to redirect outbound HttpClient requests to attacker-controlled origins. The flaw stems from a parser differential between Node's strict WHATWG URL parser (used for allowlist validation) and Domino's lenient parser (used for DOM origin resolution). No public exploit identified at time of analysis, but proof-of-concept patterns are documented in the GitHub Security Advisory GHSA-xrxm-cp7j-8xf6.
Earlier versions of this analysis (2)
Server-Side Request Forgery in @angular/platform-server allows remote unauthenticated attackers to bypass the allowedHosts SSR allowlist by exploiting a parser differential between Node's strict WHATWG URL.canParse() and Domino's lenient internal parser. By sending a malformed Host header such as evil.com:80:80, attackers redirect all relative HttpClient backend calls - including session cookies and internal authorization tokens - to attacker-controlled infrastructure and inject content into SSR-rendered HTML. No public exploit identified at time of analysis, but the GitHub Security Advisory (GHSA-xrxm-cp7j-8xf6) provides a clear technical proof of the bypass.
Server-side request forgery in @angular/platform-server allows remote unauthenticated attackers to bypass the allowedHosts allowlist by supplying a malformed URL with a double-port structure (e.g., http://evil.com:80:80/path) via the Host header or absolute-form request URI. The bypass exploits a parser differential between Node's strict WHATWG URL.canParse() validator and Domino's lenient internal parser, causing the SSR engine to adopt an attacker-controlled origin for all relative HttpClient backend requests, leaking session cookies, credentials, and authorization tokens. No public exploit identified at time of analysis, but a detailed advisory and patch diff are publicly available on GitHub.
RemediationAI
Vendor-released patches are available: upgrade @angular/platform-server to 19.2.23, 20.3.22, 22.0.0-rc.2, or later as appropriate for your major (see PR https://github.com/angular/angular/pull/68928 and advisory https://github.com/angular/angular/security/advisories/GHSA-xrxm-cp7j-8xf6). The 18.x line has no fixed release at this time, so 18.x users should plan a major-version upgrade or apply the upstream parseUrl change as a local patch. As compensating controls until patching, terminate and rewrite the Host header at the reverse proxy (e.g., 'proxy_set_header Host $host' with $host validated against a hardcoded server_name) so attacker-supplied double-port values never reach the Node process; alternatively, change SSR bootstrap to pass a fixed config.url rather than reconstructing it from request headers - the trade-off is losing per-request URL fidelity for things like canonical link generation. Avoid relying on allowedHosts alone as a security boundary while unpatched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is @angular/platform-server, the official Angular Server-Side Rendering (SSR) runtime that pre-renders Angular applications on Node.js using the Domino DOM emulation library. The root cause maps to CWE-346 (Origin Validation Error): the renderApplication/renderModule path validates the request URL with Node's URL.canParse(), which strictly rejects malformed inputs and short-circuits the host check - yet the same URL is subsequently fed to Domino, whose lenient parser silently accepts double-port constructs like 'http://evil.com:80:80' and resolves them to 'http://evil.com:80'. The relativeUrlsTransformerInterceptorFn then uses that attacker-controlled origin as the base for every relative HttpClient call made during rendering. The fix (PR #68928) introduces a unified parseUrl helper in packages/platform-server/src/url.ts that normalizes leading slashes, rejects malformed absolute URLs, and ensures the allowlist sees the same origin Domino will use.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Remote unauthenticated SSRF via crafted Host header (AV:N/AC:L/PR:N/UI:N); scope changes as SSR fetches to attacker origin leak data from backend systems (S:C, C:H); response injection yields limited integrity impact (I:L).
Primary rating from Vendor (https://github.com/angular/angular).
CVSS VectorVendor: https://github.com/angular/angular
Lifecycle Timeline
3DescriptionCVE.org
An issue in the @angular/platform-server package allows remote attackers to bypass host allowlist constraints and direct server-side outgoing requests to arbitrary external endpoints. This occurs due to a parser differential between the strict WHATWG URL parser used for allowlist validation and the lenient Domino URL parser used to initialize the server emulated DOM.
When a server-side request contains a malformed URL with a double port structure (e.g., http://evil.com:80:80/path), Node's strict URL.canParse(url) logic returns false and skips host check validation entirely. However, the same malformed URL is later accepted and parsed leniently by Domino's internal parser, which resolves the origin to http://evil.com:80. The Angular SSR HTTP request interceptor (relativeUrlsTransformerInterceptorFn) then resolves all relative backend HTTP requests against this adopted origin, executing the SSRF attack.
Impact
Any Angular application utilizing server-side rendering (@angular/platform-server) that configures host routing allowlists (allowedHosts) is vulnerable to this allowlist bypass.
By sending an HTTP request with a malformed Host header (e.g. Host: evil.com:80:80) or an absolute-form request URI, an attacker can bypass the allowlist logic completely (even when configured with a strict default deny setup). The SSR application will then route all relative HttpClient outgoing API queries-which commonly carry sensitive credentials, session cookies, and internal authorization tokens-to the attacker-controlled server instead of the intended backend services. Additionally, the attacker can supply custom payloads back to the emulated DOM, leading to response injection and content poisoning within the rendered HTML served to users.
Attack Preconditions
To successfully exploit this vulnerability, the following environment parameters and application states must all concurrently exist:
- Active Server-Side Rendering (SSR): The application must be configured to run with Angular Server-Side Rendering (
@angular/platform-server). - Host Header/URI Propagation: The SSR handler must reconstruct the request URL using raw client inputs (such as request Host headers or absolute-form URIs) and pass it as
config.urlto the rendering API (renderApplicationorrenderModule). - Outbound Relative HTTP Requests: The server application must perform outbound backend API requests using relative paths (e.g.,
this.http.get('/api/data')) that undergo base-URL interceptor rewriting. - Enabled Allowed Hosts Check: The server must use the framework-provided
allowedHostsoptions to limit valid server locations.
Patches
- 22.0.0-rc.2
- 21.2.15
- 20.3.22
- 19.2.23
Executive ViewAI
A server-side request forgery vulnerability in Angular's platform-server component allows external attackers to bypass security controls and redirect application traffic to malicious servers, putting customer data at risk. Any organization deploying this technology faces exposure of sensitive requests and potential lateral movement into internal systems. A vendor patch is available and should be prioritized immediately.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-38293
GHSA-xrxm-cp7j-8xf6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB