Don't show user text as raw HTML in your app
Many apps show things users type: comments, bios, support messages. If the code displays that text as raw HTML, someone can type a hidden script instead. It then runs in the browser of every person who views it, and can act as them.
The check: search your project for dangerouslySetInnerHTML or innerHTML. Each match is a place where user text might be treated as code.
The fix: show user text as plain text, which React does by default. If you truly need formatting, run it through a sanitizer such as DOMPurify first.
Want a second check of your live app? Run the free scan at leakyvibe.com/?demo=1&ref=blog-dont-render-user-text-as-raw-html. It takes about 15 seconds.