HIGH 7.5

CVE-2018-1000632

Dom4j contains a XML Injection vulnerability

Description

dom4j version prior to version 2.1.1 contains a CWE-91: XML Injection vulnerability in Class: Element. Methods: addElement, addAttribute that can result in an attacker tampering with XML documents through XML injection. This attack appear to be exploitable via an attacker specifying attributes or elements in the XML document. This vulnerability appears to have been fixed in 2.1.1 or later.

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.1
2.0.3, 2.1.1

Blast radius

2affected artifacts
50affected versions
46,098dependent artifacts (est.)
3,683,011dependent versions

68% of the dependent artifacts (31,683) still pull an affected version in their latest release.

DepthDependent versions
Direct
107,567
2 hops
773,741
3 hops
943,006
4 hops
1,053,410
5 hops
673,835
6 hops
131,452

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