Use the glide.ui.escape_all_script property to force escape of all scripts injected into Jelly.

This property escapes all the JS and HTML strings included in <j:jelly> ... </j:jelly> before they are written to the output stream, preventing several XSS issues from occurring. If glide.ui.escape_all_script is not set to the recommended value of true, then escaping of scripts injected into Jelly is disabled. Without this mitigation, the platform becomes widely open to a variety of script injection attacks. An attacker could execute arbitrary Rhino scripts on the instance.

Warning: Be careful when using these tags. If user input is displayed here it can open a security vulnerability.

More information

To learn more about adding or creating a system property, see Add a system property.