Skip to content

CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute

Variant

The Secure attribute for sensitive cookies in HTTPS sessions is not set.

Consequences

  • Confidentiality: Read Application Data

How to prevent it

  • Implementation: Always set the secure attribute when the cookie should be sent via HTTPS only.

Recent advisories

All advisories for CWE-614

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor