VariantIncomplete
CWE-1004Sensitive Cookie Without 'HttpOnly' Flag
Category: data-exposure
Description
The product uses a cookie to store sensitive information, but the cookie is not marked with the HttpOnly flag.
Common consequences· 2
- Confidentiality — Read Application DataIf the HttpOnly flag is not set, then sensitive information stored in the cookie may be exposed to unintended parties.
- Integrity — Gain Privileges or Assume IdentityIf the cookie in question is an authentication cookie, then not setting the HttpOnly flag may allow an adversary to steal authentication data (e.g., a session ID) and assume the identity of the user.
Potential mitigations· 1
- [Implementation]Leverage the HttpOnly flag when setting a sensitive cookie in a response.
References
Compliance frameworks addressing this (incoming)2
| Type | Target | Confidence | Tier |
|---|---|---|---|
| ComplianceControl | cra-annexi-3 | 100% | live |
| ComplianceControl | pci_dss_v4-r12 | 100% | live |
(incoming)4
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-26844cve-2025-26844 | 0% | live |
| Vulnerability | CVE-2025-47289cve-2025-47289 | 0% | live |
| Vulnerability | CVE-2026-35575cve-2026-35575 | 0% | live |
| Vulnerability | CVE-2026-42239cve-2026-42239 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.