Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSR
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.30, 21.2.22, and 22.1.4, Angular Server-Side Rendering in @angular/platform-server processes user-controlled resource or request URLs through HttpClient after application code validates them with WHATWG URL parsing. The resolveUrl and parseUrl utilities called String.prototype.trim(), which removed leading Unicode whitespace such as U+00A0 or U+FEFF after the input passed a same-origin check, converting a relative path into a protocol-relative attacker-controlled URL. In affected applications that attach sensitive server-side credentials such as Authorization headers to approved requests, relativeUrlsTransformerInterceptorFn then dispatched the request to the attacker-controlled origin, causing SSRF and credential disclosure. This issue is fixed in versions 20.3.30, 21.2.22, and 22.1.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| angular | angular | up to 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 | 20.3.30, 21.2.22, 22.1.4 | Patch available | CNA |
| — | @angular/platform-server (npm) | 22.0.0 to before 22.1.4 | 22.1.4 | Patch available | GHSA-f6mr-pjwc-34m4 |
| — | @angular/platform-server (npm) | 21.0.0 to before 21.2.22 | 21.2.22 | Patch available | GHSA-f6mr-pjwc-34m4 |
| — | @angular/platform-server (npm) | 20.0.0 to before 20.3.30 | 20.3.30 | Patch available | GHSA-f6mr-pjwc-34m4 |
| — | @angular/platform-server (npm) | up to 19.2.25 | — | No fix listed | GHSA-f6mr-pjwc-34m4 |
- angular Vendorangular Affected up to 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 Fixed in 20.3.30, 21.2.22, 22.1.4 Patch available CNA
- @angular/platform-server (npm) Vendor— Affected 22.0.0 to before 22.1.4 Fixed in 22.1.4 Patch available GHSA-f6mr-pjwc-34m4
- @angular/platform-server (npm) Vendor— Affected 21.0.0 to before 21.2.22 Fixed in 21.2.22 Patch available GHSA-f6mr-pjwc-34m4
- @angular/platform-server (npm) Vendor— Affected 20.0.0 to before 20.3.30 Fixed in 20.3.30 Patch available GHSA-f6mr-pjwc-34m4
- @angular/platform-server (npm) Vendor— Affected up to 19.2.25 Fixed in — No fix listed GHSA-f6mr-pjwc-34m4
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | 19.0.0 – 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 | Vulnerable | angular |
- cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* Versions 19.0.0 – 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 Vulnerable ·angular
Remediation
- Fix · CNA angular (angular) Fixed in 20.3.30, 21.2.22, 22.1.4
- Fix · GHSA-f6mr-pjwc-34m4 @angular/platform-server (npm) Fixed in 22.1.4 Advisory →
- Fix · GHSA-f6mr-pjwc-34m4 @angular/platform-server (npm) Fixed in 21.2.22 Advisory →
- Fix · GHSA-f6mr-pjwc-34m4 @angular/platform-server (npm) Fixed in 20.3.30 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-88056
- 2026-10-03 Alias added: GHSA-f6mr-pjwc-34m4
References
Patch 3
More Angular vulnerabilities
- TI-2026-60080 Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content Elements CVSS 4.0HIGH 8.6
- TI-2026-60078 Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements CVSS 4.0HIGH 8.6
- TI-2025-37971 A reflected cross-site scripting (XSS) vulnerability in CKeditor v46.1.0 & Angular… CVSS 3.1MEDIUM 5.4
- TI-2026-36931 Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass CVSS 4.0HIGH 8.8
- TI-2026-34131 Angular: SSRF via Hostname Hijacking in @angular/platform-server CVSS 4.0HIGH 8.8
- TI-2026-48469 Angular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State Poisoning CVSS 4.0HIGH 8.8
Sources
- CVE-2026-88056 · CVE Program
- CVE-2026-88056 · NVD
- FIRST EPSS
- GHSA-f6mr-pjwc-34m4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences