Insecure Session Storage

Insecure Session Storage refers to the unsafe use of session storage in web development, where sensitive data is stored without proper security measures. This can lead to vulnerabilities such as cross-site scripting and unauthorized access to confidential information.

Example

In a fictional scenario, an attacker named Eve exploits an online banking application's insecure use of ‘sessionStorage’ to conduct a session hijacking attack. Discovering the vulnerability, Eve injects a script that captures users' session tokens and sends them to her server. When a user like Alice logs in, Eve intercepts the session token, allowing her unauthorized access to the victim's account. In this case, Eve impersonates Alice, initiates unauthorized transactions, and causes financial harm.

Cards

Authentication

Github logo View source on GitHub

OWASP Cornucopia

  • OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use.
  • OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 3.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.
  • © 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.