mediumStudy question · answer published in React interview questions, so no pointsxssweb-securityreact
User bios rendered as HTML
User bios are written in Markdown, converted to HTML on the server, and shown with dangerouslySetInnerHTML. What is the right way to make this safe?
Discussion 0
Join free to post in the discussion.
Related questions
- What HttpOnly doesFull Stack Developer
- Keys for rows loaded from an APIFull Stack Developer
- What HTTPS protectsFull Stack Developer
- Caching a bank statement pageFull Stack Developer
- Stored versus reflected XSSFull Stack Developer
- Writing location.hash into the pageFull Stack Developer
- Encoding user text inside HTMLFull Stack Developer
- What the Secure cookie flag doesFull Stack Developer