Vulnerabilities in pkg:npm/http-cache-semantics
PACKAGECVE-2026-93748 is a HIGH (CVSS 7.5) http-cache-semantics max-stale handling can disclose vulnerability (CWE-524: Use of Cache Containing Sensitive Information) affecting Http cache semantics libraries in the npm ecosystem. The issue involves http-cache-semantics max-stale handling can disclose cross-user cached responses. Remediation is available in the latest vendor maintenance releases.
pkg:npm/http-cache-semantics
Vulnerability advisories affecting package pkg:npm/http-cache-semantics. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-ch52-4w7c-c8xp | CVE-2026-93748 | HIGH | http-cache-semantics max-stale handling can disclose cross-user cached responses |
| GHSA-rc47-6667-2j5j | CVE-2022-25881 | HIGH | http-cache-semantics vulnerable to Regular Expression Denial of Service |
CVE-2026-93748 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-93748
To remediate this vulnerability, upgrade all affected Http cache semantics dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install http-cache-semantics@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls http-cache-semantics
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-93748, inspect your project dependencies using npm:
npm ls http-cache-semantics
Analyze the terminal output to locate any version of Http cache semantics in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls http-cache-semantics command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-524: Use of Cache Containing Sensitive Information, where the code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere. In Http cache semantics, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-93748 Affected Http cache semantics Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
http-cache-semantics
|
npm |
≤ 4.2.0
|
|
References
Frequently Asked Questions
What is CVE-2026-93748?
Which Http cache semantics versions are affected?
What version fixes CVE-2026-93748?
Is http-cache-semantics affected?
What is the CVSS score of CVE-2026-93748?
What CWE is associated with CVE-2026-93748?
How can I check npm dependencies for CVE-2026-93748?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ch52-4w7c-c8xp",
"modified" : "2026-10-02T22:36:42Z",
"published" : "2026-09-18T18:31:44Z",
"aliases" : [ "CVE-2026-93748" ],
"summary" : "http-cache-semantics max-stale handling can disclose cross-user cached responses",
"details" : "http-cache-semantics through 4.2.0 fails to properly validate security-zeroed cache entries when processing client max-stale directives, allowing unauthenticated attackers to retrieve cached responses belonging to other users. Attackers can request the same URL with a large max-stale value to obtain another user's Set-Cookie session credentials from shared-cache entries that were deliberately zeroed for security reasons.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "http-cache-semantics"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-93748"
}, {
"type" : "WEB",
"url" : "https://github.com/kornelski/http-cache-semantics/issues/56"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kornelski/http-cache-semantics"
}, {
"type" : "WEB",
"url" : "https://github.com/kornelski/http-cache-semantics/blob/f01112e954b83cfa8765b633ba880e5e980aa54c/index.js#L425-L441"
}, {
"type" : "WEB",
"url" : "https://github.com/kornelski/http-cache-semantics/blob/f01112e954b83cfa8765b633ba880e5e980aa54c/index.js#L603-L623"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/http-cache-semantics-through-4.2.0-cross-user-cache-disclosure-via-max-stale"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-524" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-02T22:36:42Z",
"nvd_published_at" : "2026-09-18T18:18:33Z"
}
}