Enabling HTML sanitizer
task brazil Updated Sep 10, 2026 1 min read t_ActivateHTMLSanitizer.md
The HTML sanitizer provides a property to enable or disable the sanitizer for all HTML fields in the system.
Before you begin
Role required: admin
About this task
By default, the property is set to true for new instances.
Procedure
-
In the navigation filter, enter
sys_properties.list. -
Set the properties glide.html.sanitize_all_fields and glide.translated_html.sanitize_all_fields to true.
Note: To learn more about this property, see Enable HTML Sanitizer [Updated in Security Center 1.3] in Instance Security Hardening Settings.
If the properties do not exist in the System Properties table, you can add them.
36 lines · 1.2 KB
---
title: Enabling HTML sanitizer
description: The HTML sanitizer provides a property to enable or disable the sanitizer for all HTML fields in the system.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-security/t\_ActivateHTMLSanitizer.html
release: brazil
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [HTML sanitizer]
---
# Enabling HTML sanitizer
The HTML sanitizer provides a property to enable or disable the sanitizer for all HTML fields in the system.
## Before you begin
Role required: admin
## About this task
By default, the property is set to true for new instances.
## Procedure
1. In the navigation filter, enter `sys_properties.list`.
2. Set the properties **glide.html.sanitize\_all\_fields** and **glide.translated\_html.sanitize\_all\_fields** to **true**.
**Note:** To learn more about this property, see [Enable HTML Sanitizer \[Updated in Security Center 1.3\]](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/instance-security-hardening-settings/sc-html-sanitizer.md) in Instance Security Hardening Settings.
If the properties do not exist in the System Properties table, you can add them.
| title | Enabling HTML sanitizer |
| description | The HTML sanitizer provides a property to enable or disable the sanitizer for all HTML fields in the system. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-security/t\_ActivateHTMLSanitizer.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | HTML sanitizer |