--- title: Set safe content security policy for SVG files description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-set-safe-content-security-policy-for-svg-files.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Validation, sanitization, and encoding, Hardening settings, Platform Security] --- # 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. This prevents the exploitation of stored XSS from crafted file attachments stored within the instance. Verify that the property **com.glide.csp.self\_script\_src\_svg** is set to **true**. **Warning:** This is a safe harbor property, meaning the value can't be altered once it's changed. It is non-revertible. ## More information
| Attribute | Description |
|---|---|
| Configuration name | **com.glide.csp.self\_script\_src\_svg** |
| Configuration type | System Properties \(/sys\_properties\_list.do\) |
| Data type | Boolean |
| Recommended value | true |
| Default value | <none> |
| Fallback value | false |
| Category | [Validation, sanitization, and encoding](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/validation-sanitization-encoding.md) |
| Security risk | - Severity score: 7.1 - CVSS score: High - Security risk details: Without this policy, attackers can inject malicious JavaScript that users unknowingly execute, leading to data exfiltration or session takeover. |
| Dependencies and prerequisites | None |
| Functional impact | This property prevents scalable vector graphics \(SVG\) files from accessing external scripts. |