Stored XSS: One Injection, Every Visitor
Stored XSS writes attacker-controlled script into your database and replays it to everyone who views the content. Here is why it outranks reflected XSS, and how output encoding plus HTML sanitization shuts it down.