Vulnerabilities

CVE-2026-50168

High 8.2 CVSS 3.1

Description

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, 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. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

Description as published by the source, in English.

Key facts

Published
2026-06-22
Last modified
2026-07-09
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 9 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Angular Angular 22.0.0 Affected
Angular Angular ≥ 19.0.0, < 19.2.23 Affected
Angular Angular ≥ 2.0.0, ≤ 18.2.14 Affected
Angular Angular ≥ 20.0.0, < 20.3.22 Affected
Angular Angular ≥ 21.0.0, < 21.2.15 Affected
angular platform-server (npm) ≤ 18.2.14 Affected
angular platform-server (npm) ≥ 19.0.0-next.0, < 19.2.23 Affected
angular platform-server (npm) ≥ 20.0.0-next.0, < 20.3.22 Affected
angular platform-server (npm) ≥ 21.0.0-next.0, < 21.2.15 Affected
angular platform-server (npm) ≥ 22.0.0-next.0, < 22.0.0-rc.2 Affected

Weakness type

  • CWE-346: Origin Validation Error

    The product does not properly verify that the source of data or communication is valid.

  • CWE-918: Server-Side Request Forgery

    The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1528: Steal Application Access Token credential-access
  • T1539: Steal Web Session Cookie credential-access
  • T1550.004: Web Session Cookie lateral-movement
  • T1557.002: ARP Cache Poisoning credential-access, collection
  • T1584.002: DNS Server resource-development

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities