Injection
Web applications are mainly exposed to HTML and JavaScript code injection.
There are multiple entry points:
Some part of the URL,
Parameters,
Data coming from an "unsafe" API.
Never use eval().
Encode URI components
When constructing a URL, dynamic parts should be URI encoded.
Last updated