untrusted input (web)

Any data that could have been controlled by someone other than you, such as form fields, URL parameters, messages or third-party API responses.

In more detail

Attackers can shape it freely, so it may contain markup, script or unexpected values. Treat it as hostile until it has been validated or safely encoded for where it is used.

Related terms

Taught in

References