CWE•Variant•Incomplete•12 recent CVEs
CWE-1004Sensitive Cookie Without 'HttpOnly' Flag
Description
The product uses a cookie to store sensitive information, but the cookie is not marked with the HttpOnly flag.
Common consequences
- 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
- ImplementationLeverage the HttpOnly flag when setting a sensitive cookie in a response.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1155192026-10-22CVE-2026-1110632026-10-19CVE-2026-536602026-09-15CVE-2026-826973.72026-08-31CVE-2026-217545.42026-08-25CVE-2026-579486.82026-06-29CVE-2026-119563.72026-06-11CVE-2026-422398.12026-05-07CVE-2026-393386.12026-04-07CVE-2026-355758.02026-04-07CVE-2025-120315.32025-10-21CVE-2025-429093.02025-10-14