Enable Jelly JS interpolation protection for nested expressions
Manage the interpolation protection on your instance.
Use the glide.ui.jelly.js_interpolation.protect_nested_expressionsproperty to manage interpolation protection. Interpolation protection ensures that when Jelly expressions are used in JavaScript, that they must be deemed as safe by either falling under certain categories or being marked as SAFE in the expression itself. Without this mitigation enabled, a bad actor can send a GET parameter to a Jelly page and cause the contents of that parameter to be evaluated as server-side JavaScript with admin privileges. If this property is not set to the recommended value of true, malicious Jelly expressions interpolated in JavaScript are allowed and a user can execute code using a Jelly template.
More information
| Attribute | Description |
|---|---|
| Configuration name | glide.ui.jelly.js_interpolation.protect_nested_expressions |
| Configuration type | System Properties (/sys_properties_list.do) |
| Data type | boolean |
| Recommended value | true |
| Default value | false |
| Category | Validation, sanitization, and encoding |
| Security risk |
|
| Dependencies and prerequisites | None |