Skip to content
arrow_back
policyASD Information Security Manual (ISM)

ASD ISM 1240Ensure Input Validation and Sanitisation for Internet Data

Official control statement

Validation and sanitisation are performed on all input received over the internet by software.
policyASD Information Security Manual (ISM)ISM-1240

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

All internet-received inputs for software must be validated and cleaned to prevent security issues.

NCOSPASD Information Security ManualGuidelines for software development
Control Stack classificationPreventativeSecure coding
record_voice_over

What this means in practice

This control is about making sure that any information your software receives from the internet is checked and cleaned up before it's used. It's crucial because if untrusted data is allowed into your system, it could lead to security breaches, where someone could steal information or damage your system.

Framework

ASD Information Security Manual (ISM)

Control effect (Control Stack)

Preventative

Classifications

NC, OS, P, S, TS

ISM last updated

June 2025

Control Stack last updated

29 Sept 2026

E8 maturity levels

N/A

priority_high

Why it matters

Unchecked internet input can enable injection attacks (e.g. SQLi/XSS), causing data breaches, fraud, or service disruption.

settings

Operational notes

Validate and sanitise all internet input server-side using allow-lists, encoding and safe parsers; add tests and monitor logs for suspicious payloads.

build

Implementation tips

  • The IT team should implement input validation by setting up rules in the software to check that all internet data fits expected patterns before it's used. This can be done by using built-in features of programming languages or security libraries to ensure data is safe.
  • Software developers should sanitise input data by removing or altering any potentially harmful parts. They can achieve this through programming methods that strip out harmful characters or commands that could cause damage if entered into the system.
  • The security manager should regularly train staff involved in software development on safe data handling practices. This includes how to identify insecure input sources and what best practices to follow to mitigate risks.
  • Team leaders should integrate input validation and sanitisation checks into the development lifecycle. This involves making these steps part of the software testing phase, ensuring every new piece of code runs through these checks before it goes live.
  • The IT security team should continuously monitor input validation and sanitisation processes. They can use automated tools to scan applications for vulnerabilities and report issues for quick resolution, maintaining strong security over time.
fact_check

Audit / evidence tips

  • AskThe documentation of the input validation processes: Request the specific guidelines or policies developers follow for input validationLook atWhether these policies are comprehensive and address all potential data sourcesGoodShows detailed policies outlining specific validation methods used for different types of inputs
  • Look atExamples where potentially malicious input was neutralisedGoodProvides clear before-and-after data showing how input was cleaned
  • AskTraining logs: Request records showing staff training sessions on input validation and sanitisationLook atThe frequency and content of these sessionsGoodIncludes recent, detailed records showing regular training and updates aligned with current threats
  • AskDocumentation showing that input validation and sanitisation checks are part of the software testing processLook atWhether these checks are applied consistently across all software updatesGoodIncludes test results verifying that all tested software versions passed input handling checks
  • AskMonitoring reports: Request reports from any tools used to monitor input validation and sanitisation effortsLook atThe coverage and issues identifiedGoodIncludes recent reports showing active monitoring and instances where issues were detected and resolved
link

Cross-framework mappings

How ISM-1240 relates to controls across ISO/IEC 27001, ISO/IEC 42001, Essential Eight, and ASD ISM.

ISO 27001

ControlNotesDetails
layersPartially meets(1)expand_less
Annex A 8.25ISM-1240 requires validation and sanitisation of all input received over the internet by software to prevent exploitation via untrusted data

These mappings show relationships between controls across frameworks. They do not imply full equivalence or certification.

See all Guidelines for software development controls, or browse the full ASD ISM library.

Mapping detail

Mapping

Direction

Controls