---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Disable JavaScript tags in embedded HTML

# Disable JavaScript tags in embedded HTML {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Use the glide.ui.security.codetag.allow_script property to disable
support for embedding HTML JavaScript code created using of the \[code\] tag.
If glide.ui.security.codetag.allow_script is not set to the recommended value of false, then this property allows rendered HTML in journal fields and forms which opens room for XSS
attacks. Malicious HTML needs to be put between code tags for example \[code\]\[/code\].

Ensure that the glide.ui.security.codetag.allow_script property exists in the System Properties \[sys_properties\] table and is set to false.  
Warning:  
This is a safe harbor property, meaning the value can't be altered once it's changed. It is non-revertible.

## More information {#sc-allow-javascript-tags-in-embedded-html__section_wc1_cqn_phc}

{#sc-allow-javascript-tags-in-embedded-html__table_ajc_b43_3kb__entry__2}

| Attribute | Description |
|-|-|
| Configuration name | glide.ui.security.codetag.allow_script |
| Configuration type | System Properties (/sys_properties_list.do) |
| Data type | Boolean |
| Recommended value | false |
| Default value | false |
| Fallback value | true |
| Category | [Validation, sanitization, and encoding](https://www.servicenow.com/docs/Y54hkYpvZcFtgJ5PMM2JEw "Validation, sanitization, and encoding addresses input validation to prevent against vulnerabilities like Cross-Site Scripting (XSS), SQL injection and other attacks.") |
| Security risk | * Severity score: High * CVSS rating:8.8 * Security risk details: Uncontrolled JavaScript risks Cross-Site Scripting (XSS) attacks, enabling malicious actors to inject and execute harmful scripts in the user's browser. Such attacks can lead to session hijacking, credential theft, and compromise of sensitive data. {#sc-allow-javascript-tags-in-embedded-html__ul_g1g_3sf_xwb} |
| Functional impact | None |
| Dependencies and prerequisites | None |
[ ]

{#sc-allow-javascript-tags-in-embedded-html__table_ajc_b43_3kb}

