Does your app render user text as HTML? Ember's two-minute check
Detective Ember sniffs this one in Lovable, Bolt, Cursor and Supabase apps: a page that takes text from a form, a comment or the URL and renders it as HTML.
React warns that dangerouslySetInnerHTML skips the usual escaping. If that string came from a user, a script in it can run in someone else's browser. OWASP calls this cross-site scripting.
The two-minute check
- Search your project for
dangerouslySetInnerHTMLor.innerHTML. - If the value comes from a user, a query string or the database, render it as text, or sanitize it on the server.
- Then scan your own app on SniffPup. Full fixes free for every critical issue (no critical? one other fix is free).
Want one 2-minute check like this every morning? Sign up below.
Named after Ember, my black Pomeranian. Built by a software engineer and vibe-coding hobbyist to help you ship safely.