Skip to content
RED SAG Skills
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?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions