CRITICAL 9.8

CVE-2020-10683

dom4j allows External Entities by default which might enable XXE attacks

Description

dom4j before 2.1.3 allows external DTDs and External Entities by default, which might enable XXE attacks. However, there is popular external documentation from OWASP showing how to enable the safe, non-default behavior in any application that uses dom4j.

Note: This advisory applies to dom4j:dom4j version 1.x legacy artifacts. To resolve this a change to the latest version of org.dom4j:dom4j is recommended.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
dom4j » dom4j
<= 1.6.1
-
org.dom4j » dom4j
< 2.0.3>= 2.1.0, < 2.1.3
2.0.3, 2.1.3

Blast radius

2affected artifacts
52affected versions
49,735dependent artifacts (est.)
4,007,187dependent versions

69% of the dependent artifacts (34,533) still pull an affected version in their latest release.

DepthDependent versions
Direct
128,343
2 hops
812,150
3 hops
1,076,158
4 hops
1,135,370
5 hops
712,933
6 hops
142,233

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References