Validate file MIME type in AttachmentCreator web service

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

The glide.attachment.enforce_security_validation property determines whether Multipurpose internet Mail Extensions (MIME) files undergo validation.

Ensure that MIME-types are validated for attachments to prevent dangerous files from being uploaded on your instance using wrong file extensions.

Set the glide.attachment.enforce_security_validation system property to true. When set to true, files are uploaded with the correct file type extension.

More information

Attribute

Description

Configuration name

glide.attachment.enforce_security_validation

Configuration type

System Properties (/sys_properties_list.do)

Data type

Boolean

Recommended value

true

Default value

true

Fallback value

true

Category

File and resources

Security risk

  • Severity score: 6.7
  • CVSS score: Medium
  • Security risk details: If the property is set to false, there’s no validation for MIME files during uploads. This could enable malicious files to be disguised by changing their file extension.

Dependencies and prerequisites

None

References

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

Functional impact

Set this hardening setting to true to run mime-type and file extension validations on uploaded file attachments. No validations are run if this property is set to false. This property is set to true by default.

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