Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  >  textContent = response
Good question (that none of the replies seem to address). That is exactly what I would do if rendering 'tainted' text.

Can someone please tell us how it could be defeated ?



This should be safe.


...unless it is a text that the attacker shows to another user, in which case they can trick this user to perform some action (send cryptocurrency,...).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: