Escape scripts in scratchpad

reference australia Updated Sep 10, 2026 1 min read sc-escape-scratchpad.md
Raw file servicenow.com

Learn how scratchpad factors into the security posture of your instance and how to manage it so that malicious scripts can't be executed on it.

The scratchpad is an easy way to set information on the server that can be accessed in the browser. An admin can script anything to be on it, including arbitrary data from arbitrary records.

Ensure the property glide.ui.escape_scratchpad is set to true.

More information

Attribute

Description

Configuration name

glide.ui.escape_scratchpad

Configuration type

System Properties (/sys_properties_list.do)

Data type

Boolean

Recommended value

true

Default value

true

Fallback value

true

Category

Validation, sanitization, and encoding

Security risk

  • Severity score: 6.5
  • CVSS score: Medium
  • Security risk details: It is possible to execute malicious script like a cross-site scripting vulnerability.

Dependencies and prerequisites

None

References

Workflow administration

**Parent Topic:**[Validation, sanitization, and encoding](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/validation-sanitization-encoding.md)
Search documentation
Search document titles and file paths on the australia branch