CWE-614 Cookie Without the Secure Attribute: Fix Guide
A session cookie without the Secure flag can travel over plain HTTP and be sniffed. See how it happens, how to test it in seconds, and how to set the flag.
Deep dives, practical guides, and incident analyses from engineers who build Safeguard. No fluff, no vendor FUD — just what you need to ship secure software.
A session cookie without the Secure flag can travel over plain HTTP and be sniffed. See how it happens, how to test it in seconds, and how to set the flag.
Sessions and tokens with no expiry stay valid after theft, logout, or a password change. How CWE-613 happens and the fix MITRE recommends.
A search index of private documents can leak what the documents protect. Why index access needs the same access control as the originals.
An XML parser that resolves external entities can read local files, make server-side requests, and burn CPU. How XXE works and the parser settings that stop it.
When a user-supplied name or reference resolves to a resource outside its intended boundary, access control quietly fails. The parent of path traversal, open redirect, and more.
Symlink following lets a local attacker redirect a privileged program's file access. How CWE-61 works and how to open files safely.
Double-checked locking tries to skip synchronization, but other threads may see half-built objects. What goes wrong in Java and the safe ways to do lazy initialization.
A non-private field in a Struts ActionForm bypasses getters and setters and can be read or changed outside the framework's flow. The simple fix.
Final in Java stops reassignment, not mutation. A public static final array or list can still be changed by any code. How to keep shared constants safe.
Weekly insights on software supply chain security, delivered to your inbox.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.