Skip to content
RED SAG Skills
hard20 pts · first answer countsweb-securityxss

Sanitised HTML changed afterwards

Code runs DOMPurify on a user's comment, then replaces :smile: codes in the sanitised string with <img> tags using string replace. Why is this risky?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions