Insufficient Verification of Data Authenticity Affecting @angular/common package, versions <20.3.27>=21.0.0-next.0 <21.2.19>=22.0.0-next.0 <22.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-ANGULARCOMMON-18550632
  • published5 Aug 2026
  • disclosed3 Aug 2026
  • creditUnknown

Introduced: 3 Aug 2026

NewCVE-2026-68945  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade @angular/common to version 20.3.27, 21.2.19, 22.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity in the HttpTransferCache used for server-side rendering, which builds the transfer-cache key by joining repeated HttpParams values with commas so that distinct parameter shapes produce the same key. An attacker can poison the SSR transfer cache and cause one request's response to be served for another by sending a request whose comma-separated scalar value, such as role=user,admin, serializes identically to a legitimate request built with repeated parameters, such as append('role', 'user').append('role', 'admin'). This affects SSR applications using HttpClient where the same URL is requested with repeated query parameters.

Workaround

This vulnerability can be avoided by disabling the transfer cache for the affected requests with { transferCache: false }, or globally with the withNoHttpTransferCache() provider, which removes the ambiguous cached responses at the cost of the SSR caching optimization.

CVSS Base Scores

version 4.0
version 3.1