Skip to content
Release: Australia · Updated: 2026-03-13 · Official documentation · View source

Disable JavaScript tags in embedded HTML

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

AttributeDescription
Configuration nameglide.ui.security.codetag.allow_script
Configuration typeSystem Properties \(/sys\_properties\_list.do\)
Data typeBoolean
Recommended valuefalse
Default value<none>
Fallback valuetrue
CategoryValidation, sanitization, and encoding
Security risk- Severity score: - CVSS rating: - 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.
Functional impactNone
Dependencies and prerequisitesNone

Parent Topic:Validation, sanitization, and encoding