VYPR
High severity8.2GHSA Advisory· Published Jun 22, 2026· Updated Jul 9, 2026

CVE-2026-50168

CVE-2026-50168

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
@angular/platform-servernpm
>= 22.0.0-next.0, < 22.0.0-rc.222.0.0-rc.2
@angular/platform-servernpm
>= 20.0.0-next.0, < 20.3.2220.3.22
@angular/platform-servernpm
>= 19.0.0-next.0, < 19.2.2319.2.23
@angular/platform-servernpm
<= 18.2.14
@angular/platform-servernpm
>= 21.0.0-next.0, < 21.2.1521.2.15

Affected products

17
  • Angular/AngularGHSA17 versions
    >= 21.0.0-next.0, < 21.2.15+ 16 more
    • (no CPE)range: >= 21.0.0-next.0, < 21.2.15
    • cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*range: >=2.0.0,<=18.2.14
    • cpe:2.3:a:angular:angular:22.0.0:next0:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next10:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next11:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next12:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next1:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next2:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next3:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next4:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next5:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next6:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next7:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next8:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:next9:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:rc0:*:*:*:node.js:*:*
    • cpe:2.3:a:angular:angular:22.0.0:rc1:*:*:*:node.js:*:*

Patches

Vulnerability mechanics

References

4

News mentions

1