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

Set safe content security policy for SVG files

The com.glide.csp.self_script_src_svg property adds the script-src none directive to the HTTP Content-Security-Policy header when Scalable Vector Graphics (SVGs) are accessed through the Translation Memory Index (IIX) file extension.

The com.glide.csp.self_script_src_svg system property adds "script-src none" to the Content-Security-Policy header when SVGs are accessed via the ".iix" file extension, which prevents the exploitation of stored XSS from crafted file attachments stored within the instance.

Ensure that the property com.glide.csp.self_script_src_svg is set to true.

More information

AttributeDescription
Configuration namecom.glide.csp.self_script_src_svg
Configuration typeSystem Properties \(/sys\_properties\_list.do\)
Data typeBoolean
Recommended valuetrue
Default value<none>
Fallback valuefalse
CategoryValidation, sanitization, and encoding
Security risk- Severity score: 7.1 - CVSS score: High - Security risk details: Without this policy, a malicious actor could trick a user into running arbitrary JavaScript code in their web browser leading to consequences such as data exfiltration or session takeover.
Dependencies and prerequisitesNone
Functional impactThis property prevents scalable vector graphics \(SVG\) files from accessing external scripts.

Parent Topic:Validation, sanitization, and encoding