Back to Glossary
SecurityIntermediate

What is XSS (Cross-Site Scripting)?

A security vulnerability where attackers inject malicious scripts into web pages viewed by other users.

Why It Matters

XSS attacks can steal user sessions, redirect users, or modify page content to trick people.

Real-World Example

An attacker posting a comment containing a script that steals cookies from anyone who views the page.

“Understanding terms like XSS (Cross-Site Scripting) matters because it helps you have better conversations with developers and make smarter decisions about your software. You do not need to be technical. You just need to know enough to ask the right questions.”

Callum Holt, Founder, 13Labs

From definition to deployment

Knowing the term is step one. Using it in something real is the rest.