Hexret

Web Security · Client-side

Output encoding

Also known as: Contextual output encoding, Context-appropriate output encoding

Represents untrusted data so the destination treats it as data rather than syntax. HTML text, attributes, JavaScript, and URLs have different rules. An encoder for one context may not protect another.

Where you practice it

Related terms