Skip to main content

Angular platform-server CVE-2026-50168

| EUVDEUVD-2026-38293 HIGH
Origin Validation Error (CWE-346)
2026-06-15 https://github.com/angular/angular GHSA-xrxm-cp7j-8xf6
8.8
CVSS 4.0 · Vendor: https://github.com/angular/angular
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Angular SSR endpoint
  2. Delivery
    Send request with malformed Host header
  3. Exploit
    Bypass URL.canParse allowlist check
  4. Execution
    Domino adopts attacker origin
  5. Persist
    Relative HttpClient calls rewrite to attacker
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 22, 2026 - 18:34 cvss changed CVSS 8.8

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.

v1 Jun 15, 2026 - 17:15

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

angular 20.0.0-next.0, < 20.3.22
angular 19.0.0-next.0, < 19.2.23
angular 22.0.0-next.0, < 22.0.0-rc.2
angular 21.0.0-next.0, < 21.2.15
angular ≤ 18.2.14

Affected Packages

npm @angular/platform-server fix: 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2
euvd angular no fix
euvd angular_19_0_0_next_0 fix: 19.2.23
euvd angular_20_0_0_next_0 fix: 20.3.22
euvd angular_21_0_0_next_0 fix: 21.2.15
euvd angular_22_0_0_next_0 fix: 22.0.0-rc.2

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

Vendor (https://github.com/angular/angular) PRIMARY 8.8 HIGH
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
vuln.today AI 9.3 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
Red Hat 8.2 HIGH

Primary rating from Vendor (https://github.com/angular/angular).

CVSS VectorVendor: https://github.com/angular/angular

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
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 22, 2026 - 18:35 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 18:34 vuln.today
v2 - CVSS changed
CVSS changed
Jun 22, 2026 - 18:23 NVD
8.8 (HIGH)

DescriptionCVE.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:

  1. Active Server-Side Rendering (SSR): The application must be configured to run with Angular Server-Side Rendering (@angular/platform-server).
  2. 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.url to the rendering API (renderApplication or renderModule).
  3. 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.
  4. Enabled Allowed Hosts Check: The server must use the framework-provided allowedHosts options to limit valid server locations.

Patches

  • 22.0.0-rc.2
  • 21.2.15
  • 20.3.22
  • 19.2.23

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy