Skip to content
arrow_back
search
ISM-1241 policy ASD Information Security Manual (ISM)

Ensuring Secure Web Application Output Encoding

Web applications must correctly encode all their outputs to prevent security risks.

record_voice_over

Plain language

When web applications output information to users, they need to encode this information properly to prevent security risks like data breaches or malware attacks. If this isn't done, cybercriminals might take advantage of it by tricking the application into running harmful scripts, which could lead to loss of sensitive information or control over the site.

Framework

ASD Information Security Manual (ISM)

Control effect

Preventative

Classifications

NC, OS, P, S, TS

ISM last updated

Feb 2022

Control Stack last updated

19 Mar 2026

E8 maturity levels

N/A

Official control statement

Output encoding is performed on all output produced by web applications.
policy ASD Information Security Manual (ISM) ISM-1241
priority_high

Why it matters

Without output encoding on all web application responses, attackers can inject scripts (XSS), resulting in session theft, data leakage, and site hijacking.

settings

Operational notes

Confirm all dynamic output is context-appropriately encoded (HTML, attribute, JS, URL) and regression test templates and APIs after changes to prevent XSS.

Mapping detail

Mapping

Direction

Controls