Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.xxe.external-entities-enabled

An XML parser is configured to resolve external entities or fetch DTDs. Untrusted XML can then read local files or reach internal hosts (XXE).

Last updated:

Suite: Security

python

An XML parser is configured to resolve external entities or fetch DTDs. Untrusted XML can then read local files or reach internal hosts (XXE).

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Create lxml parsers with resolve_entities=False and no_network=True; never enable feature_external_ges.

References

Source: packages/engine/rules/sast/python.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.