Hacker News new | past | comments | ask | show | jobs | submit login

SQL injection, XSS, and similar attacks are about incorrectly encoding embedded fragments.

The solution is either not to embed (SQL parameter bindings) or to always escape embedded fragments based on the embedding context

For reference: The Last XSS Defense Talk - Jim Manico - NDC Porto 2022 | https://youtu.be/wRC7jyhTkEM




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: