injection sink

A place in code where a string is interpreted as HTML or code, such as innerHTML, document.write or eval, and so can run an attack if the string is untrusted.

In more detail

Security reviews trace untrusted input from sources such as the URL to sinks. Trusted Types makes the browser enforce that only approved values reach them.

Related terms

Taught in

References