Escape scripts in scratchpad
reference australia Updated Sep 10, 2026 1 min read sc-escape-scratchpad.md
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 | |
|
Security risk |
|
|
Dependencies and prerequisites |
None |
|
References |
118 lines · 2.5 KB
--- title: Escape scripts in scratchpad description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-escape-scratchpad.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Validation, sanitization, and encoding, Hardening settings, Platform Security] --- # Escape scripts in scratchpad 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 <table id="table_hhv_dvg_1xb"><thead><tr><th> Attribute </th><th> Description </th></tr></thead><tbody><tr><td> Configuration name </td><td> **glide.ui.escape\_scratchpad** </td></tr><tr><td> Configuration type </td><td> System Properties \(/sys\_properties\_list.do\) </td></tr><tr><td> Data type </td><td> Boolean </td></tr><tr><td> Recommended value </td><td> true </td></tr><tr><td> Default value </td><td> true </td></tr><tr><td> Fallback value </td><td> true </td></tr><tr><td> Category </td><td> [Validation, sanitization, and encoding](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/validation-sanitization-encoding.md) </td></tr><tr><td> Security risk </td><td> - Severity score: 6.5 - CVSS score: Medium - Security risk details: It is possible to execute malicious script like a cross-site scripting vulnerability. </td></tr><tr><td> Dependencies and prerequisites </td><td> None </td></tr><tr><td> References </td><td> [Workflow administration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/c_WorkflowAdministration.md) </td></tr></tbody> </table>**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)
| title | Escape scripts in scratchpad |
| description | 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. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-escape-scratchpad.html |
| release | australia |
| product | Instance Security Hardening Settings |
| classification | instance-security-hardening-settings |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Validationsanitizationand encodingHardening settingsPlatform Security |