CWE-611

Improper Restriction of XML External Entity Reference

High

Description

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Potential Impact

How to Fix

Implementation

Many XML parsers and validators can be configured to disable external entity expansion.

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-611 vulnerabilities in your codebase.

Get Security Assessment