1. CVE archive
  2. Vulnerability types
  3. CWE-1004
CWE-1004 · #354 most frequent type in the archive

Sensitive Cookie Without 'HttpOnly' Flag

The product uses a cookie to store sensitive information, but the cookie is not marked with the HttpOnly flag.

Part of: CWE-732 · Incorrect Permission Assignment for Critical Resource

15CVEs of this type in the archive
1critical (CVSS ≥ 9)
4high severity (7–8.9)
Nov 24, 2026latest published

What it is

The product uses a cookie to store sensitive information, but the cookie is not marked with the HttpOnly flag.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
If the HttpOnly flag is not set, then sensitive information stored in the cookie may be exposed to unintended parties.
Integrity Gain Privileges or Assume Identity
If 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.

How to prevent it

Implementation Leverage the HttpOnly flag when setting a sensitive cookie in a response.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-1004 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20211
20221
20257
20266

All CWE-1004 CVEs

15 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.