Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) is a web security vulnerability where attackers inject malicious scripts into web pages. This could happen when the user input isn't properly validated, allowing scripts, often in JavaScript, to execute in other users' browsers. This can lead to unauthorized access, data theft, or other malicious activities.

Example

Yahoo suffered from an XSS attack that affected its advertising network. Attackers were able to inject malicious code into Yahoo ads, leading to the distribution of malware to users who viewed the compromised ads.

Cards

Data-validation-&-encoding

Authentication

Authorization

Session-management

Cryptography

Cornucopia

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.