SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysisPro

CWE-611 XXE

Coverage: 8 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 8 Also: Taint and heuristic analyzers may also detect related flows (see coverage for the authoritative list) Registry tagging shows intent, for sample-level behaviour and benchmarked gaps see known gaps.

What this means

SiteShadow flagged XML parsing that may allow external entities or unsafe DTD features. That can cause the parser to fetch local files or make network requests during parsing.

Why it matters

XXE can expose files or internal services.

Safer examples

1) Disable DTDs / external entities

Use parser settings that disable DTD processing and external entity resolution (exact API depends on language/library).

2) Prefer safer data formats

If you control the protocol, prefer JSON/protobuf over XML for untrusted inputs.

3) Use hardened XML libraries

Many ecosystems have "secure by default" XML parsers or hardening wrappers.

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Catch this with SiteShadow Pro.

This vulnerability class is detected by SiteShadow's Pro-tier engines, two-pass interprocedural taint analysis, heuristic flow checks, AI-context scanning, and cross-file detection. The free tier catches OWASP Top 10 single-file patterns; Pro adds the data-flow depth that finds this class of bug.