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

Disable Entity Expansion within the XMLDocument2 Streaming Parser

If customizations do not require entity expansion, use the glide.stax.allow_entity_resolution property to completely disable external entity expansion. The XML completes parsing but doesn't include any internal or external entities.

If the glide.stax.allow_entity_resolution is not set to the recommended value of false, then this property allow XML entities to be expanded during parsing by the streaming parser (XMLDocument2).

Ensure that the property glide.stax.allow_entity_resolution exists in the System Properties [sys_properties] table and is set to false. If the property does not appear in the System Properties [sys_properties] table the default value is 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

AttributeDescription
Configuration name****
Configuration typeSystem Properties \(/sys\_properties\_list.do\)
Data typeBoolean
Recommended valuefalse
Default valuefalse
Fallback valuetrue
CategoryValidation, sanitization, and encoding
Security risk- Severity score: 9.0 - CVSS rating: Critical - Security risk details: XML entity expansion can lead to attacks such as ability to read system files, and Denial of Service.
Functional impactNone
Dependencies and prerequisites

Before setting this property:

Parent Topic:Validation, sanitization, and encoding