Validate SOAP content type [Updated in Security Center 1.3]

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • Use the glide.soap.require_content_type_xml property to enable validation of a content type as text/xml and protect against invalid SOAP requests.

    • When set to true, the ServiceNow AI Platform validates the content type as text/xml and protects against invalid SOAP requests.
    • If set to false, any content-type value is allowed.
    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
    Property name glide.soap.require_content_type_xml
    Configuration type System Properties (/sys_properties_list.do)
    Category API and web service
    Purpose Protect against invalid SOAP requests
    Recommended value true
    Default value true
    Security risk rating 8.8
    Functional impact This remediation enables validation of SOAP content type for all the inbound SOAP requests.
    • If you are using a content type other than text/xml for inbound requests, it may cause potential failure of SOAP transactions.
    • If you are not using the correct MIME type, it could disrupt third-party integrations.
    Security risk (Moderate) When accepting inbound SOAP requests, the appropriate validation is performed to ensure that the relevant content type is being defined as a part of the request. It restricts the invalid SOAP responses that can be viewed as a security risk.
    Reference Content types

    To learn more about adding or creating a system property, see Add a system property.