CVE-2026-50168
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAngular 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAngular SSR vulnerability allows SSRF attacks via a parser differential between strict WHATWG URL validation and lenient Domino URL parsing. Malformed URLs with double port structures (e.g., http://evil.com:80:80/path) bypass allowlist checks because Node's strict URL.canParse() returns false, but Domino resolves to http://evil.com:80, enabling attackers to direct server-side outgoing requests to arbitrary endpoints.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.0.0, <= 18.2.14>= 19.0.0, < 19.2.23>= 20.0.0, < 20.3.22>= 21.0.0, < 21.2.15= 22.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Angular framework versionRun 'ng version' or inspect package.json for '@angular/core' versionAffected if Version is >= 2.0.0 and <= 18.2.14, OR >= 19.0.0 and < 19.2.23, OR >= 20.0.0 and < 20.3.22, OR >= 21.0.0 and < 21.2.15, OR equals 22.0.0
-
Verify @angular/platform-server is installedInspect package.json or run 'npm list @angular/platform-server' to confirm the SSR package is presentAffected if @angular/platform-server is listed as a dependency in package.json
-
Confirm SSR is enabled in the applicationCheck for server.ts file, or look for 'provideServerRendering' in app.config.ts, or check for @angular/platform-server imports in the codebaseAffected if SSR rendering is configured and active in the application
-
Identify URL allowlist validation logicSearch source code for patterns like 'canParse', 'url.canParse', allowlist, or custom URL validation functions that validate outgoing request targetsAffected if The application uses URL.canParse() or similar strict validation for allowlisting outgoing request destinations
The environment is affected if Angular version falls within the affected ranges AND @angular/platform-server is installed with SSR enabled AND the application validates outgoing request URLs using strict parsing that could be bypassed by malformed double-port URLs.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped19.2.2320.3.2221.2.15
Upgrade Angular to version 22.0.0-rc.2, 21.2.15, 20.3.22, or 19.2.23 or later to patch the @angular/platform-server package.
19.2.23 (for 18.x/19.x), 20.3.22 (for 20.x), 21.2.15 (for 21.x), or 22.0.0-rc.2 (for 22.x)
- Identify the current Angular version in your project by running `ng version` or checking package.json
- Upgrade to a fixed version based on your current major version:
- - If on Angular 18.x: `npm install @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected]` (or upgrade to 19.x latest)
- - If on Angular 19.x: `npm install @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected]`
- - If on Angular 20.x: `npm install @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected]`
- - If on Angular 21.x: `npm install @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected]`
- - If on Angular 22.x: `npm install @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected]`
- Run `npm install` to update all dependencies
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,520.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-50168 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-50168 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data