Read the docs
TI-2026-39166 Aliases CVE-2026-54266GHSA-39pv-4j6c-2g6v

Angular: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State Poisoning

Priority MEDIUM 43CWE-328Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345.

Summary

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, Angular's HttpTransferCache caches HTTP requests made during Server-Side Rendering (SSR) so that they can be reused during client-side hydration. This avoids repeating the same HTTP requests on the client. The cached responses are stored in TransferState using a cache key generated by hashing request properties (method, response type, mapped URL, serialized body, and sorted query parameters). The cache keys are generated using a weak 32-bit DJB2-like polynomial rolling hash. The 32-bit hash space is extremely small, allowing attackers to find hash collisions. An attacker can easily find a query parameter string (e.g., q=aaCAZMMM for a search request) that produces the exact same 32-bit hash as a sensitive endpoint (e.g., /api/user/profile). When a victim visits a crafted link containing the colliding parameter, the SSR process executes both the search request and the profile request. Due to the hash collision, the search response overwrites the profile response in the TransferState cache. This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00127 2nd percentileScored 2026-11-07
Fix Fixed @angular/common (npm): 22.0.1, 21.2.17, 20.3.25

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
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

VendorProductAffected versionsFixed inStatusSource
angularangular>= 22.0.0-next.0 < 22.0.1; >= 21.0.0-next.0 < 21.2.17; >= 20.0.0-next.0 < 20.3.25; up to 19.2.25—No fix listedCNA
—@angular/common (npm)22.0.0-next.0 to before 22.0.122.0.1Patch availableGHSA-39pv-4j6c-2g6v
—@angular/common (npm)21.0.0-next.0 to before 21.2.1721.2.17Patch availableGHSA-39pv-4j6c-2g6v
—@angular/common (npm)20.0.0-next.0 to before 20.3.2520.3.25Patch availableGHSA-39pv-4j6c-2g6v
—@angular/common (npm)up to 19.2.25—No fix listedGHSA-39pv-4j6c-2g6v
  • angular Vendorangular Affected >= 22.0.0-next.0 < 22.0.1; >= 21.0.0-next.0 < 21.2.17; >= 20.0.0-next.0 < 20.3.25; up to 19.2.25 Fixed in — No fix listed CNA
  • @angular/common (npm) Vendor— Affected 22.0.0-next.0 to before 22.0.1 Fixed in 22.0.1 Patch available GHSA-39pv-4j6c-2g6v
  • @angular/common (npm) Vendor— Affected 21.0.0-next.0 to before 21.2.17 Fixed in 21.2.17 Patch available GHSA-39pv-4j6c-2g6v
  • @angular/common (npm) Vendor— Affected 20.0.0-next.0 to before 20.3.25 Fixed in 20.3.25 Patch available GHSA-39pv-4j6c-2g6v
  • @angular/common (npm) Vendor— Affected up to 19.2.25 Fixed in — No fix listed GHSA-39pv-4j6c-2g6v

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*up to 19.2.25; 20.0.0 to before 20.3.25; 21.0.0 to before 21.2.17; 22.0.0 to before 22.0.1Vulnerableangular
  • cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* Versions up to 19.2.25; 20.0.0 to before 20.3.25; 21.0.0 to before 21.2.17; 22.0.0 to before 22.0.1 Vulnerable ·angular

Remediation

  • Fix · GHSA-39pv-4j6c-2g6v @angular/common (npm) Fixed in 22.0.1 Advisory →
  • Fix · GHSA-39pv-4j6c-2g6v @angular/common (npm) Fixed in 21.2.17 Advisory →
  • Fix · GHSA-39pv-4j6c-2g6v @angular/common (npm) Fixed in 20.3.25 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54266
  2. 2026-10-03 Alias added: GHSA-39pv-4j6c-2g6v

References

  • TI-2026-60076 Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSR CVSS 4.0HIGH 8.6
  • 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
See all 28 →

Sources