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

It escapes all the JS and HTML strings included in <j:jelly> ... </j:jelly> on input forms, consoles, or API calls before they are written to the output stream, preventing several XSS issues from occurring.

More information

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