Restrict uploaded MIME types

reference australia Updated Sep 10, 2026 1 min read sc-upload-mime-type-restriction.md
Raw file servicenow.com

Use the glide.security.file.mime_type.validation property to activate MIME type checking for uploads. You can enable (set the property to true) or disable (set it to false) MIME type validation for file attachments.

The glide.security.file.mime_type.validation system property is used to activate MIME type checking for uploads.

Ensure that the property glide.security.file.mime_type.validation exists in the System Properties [sys_properties] and is set to true. If the property does not appear in the System Properties [sys_properties] table, add a new record.

More information

Attribute

Description

Configuration name

glide.security.file.mime_type.validation

Configuration type

System Properties (/sys_properties_list.do)

Data type

Boolean

Recommended value

true

Default value

true

Fallback value

false

Category

Validation, sanitization, and encoding

Security risk

  • Severity score: 5.4
  • CVSS rating: Medium
  • Security risk details: MIME type validation for file attachments will not take place which could allow malicious file types to be uploaded.

Functional impact

This remediation enables MIME type verification on the attachments to the application. No functionality impact, unless there is a malicious intent in uploading the files as this validation is merely checking for mis-sync between the MIME type and the data.

Dependencies and prerequisites

None

**Parent Topic:**[Validation, sanitization, and encoding](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/validation-sanitization-encoding.md)
Search documentation
Search document titles and file paths on the australia branch