Dom4j contains a XML Injection vulnerability
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.dom4j:dom4j Maven |
|
|
| dom4j:dom4j Maven |
| No fix yet |
| Product | Affected | Fixed in |
|---|---|---|
| org.dom4j:dom4j Maven |
|
|
| dom4j:dom4j Maven |
| No fix yet |
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.
From the CVE record · mitre
The dom4j Element methods addElement and addAttribute are vulnerable to XML injection. An attacker who can specify attributes or elements in an XML document can tamper with that document; the input does not specify whether authentication or user interaction is required.
Check applications using Maven org.dom4j:dom4j versions below 2.0.3 or from 2.1.0 to below 2.1.1, or Maven dom4j:dom4j versions 1.6.1 and earlier.