-
Security
Prevent stored XSS in user-generated content
Escapes or sanitizes user content at render time and audits every place raw HTML is injected into the page.
Free Prompt
What This Does / How This Helps
Hunts down every spot where user content gets rendered and makes sure it's escaped or sanitized, so one user's input can't run as JavaScript in another user's browser. Stored XSS is the classic vibe-coded app hole: a comment box or profile field that renders raw HTML. An attacker saves a script as their bio, and every visitor who views their profile runs it with their own session. That's account theft without ever touching your server. Expect a full audit of render locations, fixes applied with proper escaping or an allowlist sanitizer, and test payloads to paste in and confirm they render as harmless text.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).