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

It's not handwavy. If you use un-escaped user-provided strings in your HTML, it is almost certainly catastrophically insecure. One user can submit text that includes password-stealing code and when it's displayed to another user it can steal their passwords, private information, etc.

Hand-written HTML is static and thus doesn't use user-provided strings, while HTML generated by other means automatically escapes any strings given to it.



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

Search: