CVE-2018-1000632 json
Dom4j contains a XML Injection vulnerability
published 2018-08-20 8 y ago modified 2026-06-17 4 mo ago also GHSA-6pcc-3rfx-4gpm , EUVD-2018-0521
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.6%
- EPSS 6.6% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.dom4j:dom4j 2.0.3, 2.1.1
- dom4j_project dom4j 2.0.3, 2.1.1
- dom4j Debian 14, Debian 13, Debian 12 2.1.1-1
debian advisories DEBIAN-CVE-2018-1000632
- dom4j Ubuntu 16.04 LTS 1.6.1+dfsg.3-2ubuntu1.2
ubuntu advisories UBUNTU-CVE-2018-1000632
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tfm satellite capsule 6.6, satellite 6.6 5.0-7.el7sat
- kobo satellite capsule 6.6, satellite 6.6 0.5.1-1.el7sat
- pulp satellite capsule 6.6, satellite 6.6 2.19.1.1-1.el7sat
- gofer satellite capsule 6.6, satellite 6.6 2.12.5-5.el7sat
- future satellite capsule 6.6, satellite 6.6 0.16.0-11.el7sat
- ostree satellite capsule 6.6, satellite 6.6 2017.1-2.atomic.el7
- foreman satellite capsule 6.6, satellite 6.6 1.22.0.32-1.el7sat
- katello satellite capsule 6.6, satellite 6.6 3.12.0-2.el7sat
red hat advisories RHSA-2019:3172RHSA-2019:1161RHSA-2019:1160RHSA-2019:1159RHSA-2019:0365RHSA-2019:0364
- dom4j SLE Software Development Kit 11 SP4 1.6.1-8.3.8.1
- dom4j Manager Server 3.2, Manager Server 3.0 1.6.1-27.4.1
- dom4j Manager Server 3.1 1.6.1-3.3.2
suse advisories SUSE-SU-2018:3424-1SUSE-SU-2018:2861-1SUSE-SU-2018:2863-1
- dom4j openSUSE Tumbleweed 1.6.1-33.6
- dom4j Package Hub 15 1.6.1-bp150.2.3.1
opensuse advisories openSUSE-SU-2024:10724-1openSUSE-SU-2018:4045-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1000632 updated cvss 5.3
dom4j: XML Injection in Class: Element. Methods: addElement, addAttribute which can impact the integrity of XML documents
-
Red Hat BPM Suite 6 dom4jaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 dom4j, dom4j-demo, dom4j-manual, dom4j-javadocaffected: no fix planned “Will not fix”
-
Red Hat JBoss BRMS 5 dom4j Red Hat JBoss BRMS 6 dom4jaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform 5 dom4j Red Hat JBoss Enterprise Web Server 2 dom4j Red Hat JBoss Enterprise Web Server 3 dom4jaffected: no fix planned “Will not fix”
-
Red Hat JBoss Fuse 6 dom4j Red Hat JBoss Fuse Service Works 6 dom4j Red Hat JBoss Operations Network 3 dom4j Red Hat JBoss SOA Platform 5 dom4jaffected: no fix planned “Out of support scope”
-
Red Hat Satellite 5 dom4j Red Hat Software Collections rh-maven35-dom4j, rh-java-common-dom4j, rh-maven35-dom4j-javadoc, rh-java-common-dom4j-demo, rh-java-common-dom4j-manual, rh-java-common-dom4j-javadoc Red Hat Subscription Asset Manager dom4jaffected: no fix planned “Will not fix”
-
Red Hat Fuse 7.7.0fixed: vendor fix RHSA-2020:3192
-
Red Hat JBoss Enterprise Application Platform 6.4fixed: vendor fix RHSA-2019:1162
show 9 moreshow fewer
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server dom4j-eap6 1.6.1-22.redhat_9.1.ep6.el5, hornetq 2.3.25-28.SP29_redhat_1.1.ep6.el5, apache-cxf 2.7.18-8.SP7_redhat_1.1.ep6.el5, jbossweb 7.5.30-1.Final_redhat_1.1.ep6.el5, resteasy 2.3.23-1.Final_redhat_1.1.ep6.el5, jboss-hal 2.5.19-1.Final_redhat_1.1.ep6.el5, +75 morefixed: vendor fix RHSA-2019:1159
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server dom4j-eap6 1.6.1-22.redhat_9.1.ep6.el6, hornetq 2.3.25-28.SP29_redhat_1.1.ep6.el6, apache-cxf 2.7.18-8.SP7_redhat_1.1.ep6.el6, jbossweb 7.5.30-1.Final_redhat_1.1.ep6.el6, resteasy 2.3.23-1.Final_redhat_1.1.ep6.el6, jboss-hal 2.5.19-1.Final_redhat_1.1.ep6.el6, +75 morefixed: vendor fix RHSA-2019:1160
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server dom4j-eap6 1.6.1-22.redhat_9.1.ep6.el7, hornetq 2.3.25-28.SP29_redhat_1.1.ep6.el7, apache-cxf 2.7.18-8.SP7_redhat_1.1.ep6.el7, jbossweb 7.5.30-1.Final_redhat_1.1.ep6.el7, resteasy 2.3.23-1.Final_redhat_1.1.ep6.el7, jboss-hal 2.5.19-1.Final_redhat_1.1.ep6.el7, +75 morefixed: vendor fix RHSA-2019:1161
-
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 Server eap7-dom4j 2.1.1-1.redhat_00001.1.ep7.el6, eap7-apache-cxf 3.1.16-2.redhat_2.1.ep7.el6, eap7-jandex 2.0.5-1.Final_redhat_1.1.ep7.el6, eap7-apache-cxf-rt 3.1.16-2.redhat_2.1.ep7.el6, eap7-wildfly 7.1.6-4.GA_redhat_00002.1.ep7.el6, eap7-jberet 1.2.7-1.Final_redhat_00001.1.ep7.el6, +70 morefixed: vendor fix RHSA-2019:0364
-
Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 Server eap7-dom4j 2.1.1-1.redhat_00001.1.ep7.el7, eap7-apache-cxf 3.1.16-2.redhat_2.1.ep7.el7, eap7-jandex 2.0.5-1.Final_redhat_1.1.ep7.el7, eap7-apache-cxf-rt 3.1.16-2.redhat_2.1.ep7.el7, eap7-wildfly 7.1.6-4.GA_redhat_00002.1.ep7.el7, eap7-jberet 1.2.7-1.Final_redhat_00001.1.ep7.el7, +70 morefixed: vendor fix RHSA-2019:0365
-
Red Hat Satellite 6.6 tfm 5.0-7.el7sat, kobo 0.5.1-1.el7sat, gofer 2.12.5-5.el7sat, pulp 2.19.1.1-1.el7sat, tfm-ror52 1.0-4.el7sat, future 0.16.0-11.el7sat, +448 more Red Hat Satellite Capsule 6.6 tfm 5.0-7.el7sat, kobo 0.5.1-1.el7sat, gofer 2.12.5-5.el7sat, pulp 2.19.1.1-1.el7sat, tfm-ror52 1.0-4.el7sat, future 0.16.0-11.el7sat, +239 morefixed: vendor fix RHSA-2019:3172
-
Red Hat Single Sign-On 7.2.6 zipfixed: vendor fix RHSA-2019:0380
-
Red Hat Virtualization 4 Hypervisor for RHEL 7 rhvm-appliance 4.3-20190502.0.el7 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts rhvm-appliance 4.3-20190502.0.el7fixed: vendor fix RHEA-2019:1119
-
Red Hat Decision Manager 7 dom4j Red Hat Mobile Application Platform 4 dom4j Red Hat Process Automation 7 dom4j Red Hat Single Sign-On 7 dom4j Red Hat support for Spring Boot dom4jnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.57% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- ihacktoprotect.com https://ihacktoprotect.com/post/dom4j-xml-injection/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.dom4j:dom4j | <2.0.3 >=2.1.0, <2.1.1 |
2.0.3 2.1.1 |
| maven | dom4j:dom4j | <=1.6.1 |
no fix listed |
Classification
- Weakness
-
- CWE-91 XML Injection
References
-
github.com
/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpujan2019-5072801.html
web, patch, third-party-advisory
-
github.com
/dom4j/dom4j/commit/c2a99d7dee8ce7a4e5bef134bb781a6672bd8a0f
web
-
ihacktoprotect.com
/post/dom4j-xml-injection/
exploit, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0364
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0362
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0365
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0380
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1160
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1162
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1159
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1161
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3172
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/IOOVVCRQE6ATFD2JM2EMDXOQXTRIVZGP/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/KJULAHVR3I5SX7OSMXAG75IMNSAYOXGA/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/09/msg00028.html
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/7f6e120e6ed473f4e00dde4c398fc6698eb383bd7857d20513e989ce%40%3Cdev.maven.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/4a77652531d62299a30815cf5f233af183425db8e3c9a824a814e768%40%3Cdev.maven.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/5a020ecaa3c701f408f612f7ba2ee37a021644c4a39da2079ed3ddbc%40%3Ccommits.maven.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/00571f362a7a2470fba50a31282c65637c40d2e21ebe6ee535a4ed74%40%3Ccommits.maven.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/d7d960b2778e35ec9b4d40c8efd468c7ce7163bcf6489b633491c89f%40%3Cdev.maven.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/9d4c1af6f702c3d6d6f229de57112ddccac8ce44446a01b7937ab9e0%40%3Ccommits.maven.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/7e9e78f0e4288fac6591992836d2a80d4df19161e54bd71ab4b8e458%40%3Cdev.maven.apache.org%3E
mailing-list
-
oracle.com
/security-alerts/cpuapr2020.html
web, third-party-advisory
-
oracle.com
/security-alerts/cpujul2020.html
web, third-party-advisory
-
github.com
/dom4j/dom4j/issues/48
web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190530-0001/
third-party-advisory
-
oracle.com
/security-alerts/cpuApr2021.html
web
-
lists.apache.org
/thread.html/rb1b990d7920ae0d50da5109b73b92bab736d46c9788dd4b135cb1a51%40%3Cnotifications.freemarker.apache.or
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-1000632
advisory
-
lists.apache.org
/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
web
-
lists.apache.org
/thread.html/7e9e78f0e4288fac6591992836d2a80d4df19161e54bd71ab4b8e458@%3Cdev.maven.apache.org%3E
web
-
lists.apache.org
/thread.html/7f6e120e6ed473f4e00dde4c398fc6698eb383bd7857d20513e989ce@%3Cdev.maven.apache.org%3E
web
-
lists.apache.org
/thread.html/9d4c1af6f702c3d6d6f229de57112ddccac8ce44446a01b7937ab9e0@%3Ccommits.maven.apache.org%3E
web
-
lists.apache.org
/thread.html/d7d960b2778e35ec9b4d40c8efd468c7ce7163bcf6489b633491c89f@%3Cdev.maven.apache.org%3E
web
-
lists.apache.org
/thread.html/rb1b990d7920ae0d50da5109b73b92bab736d46c9788dd4b135cb1a51@%3Cnotifications.freemarker.apache.org%
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/IOOVVCRQE6ATFD2JM2EMDXOQXTRIVZGP
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/KJULAHVR3I5SX7OSMXAG75IMNSAYOXGA
web
-
security.netapp.com
/advisory/ntap-20190530-0001
web
-
lists.apache.org
/thread.html/5a020ecaa3c701f408f612f7ba2ee37a021644c4a39da2079ed3ddbc@%3Ccommits.maven.apache.org%3E
web
-
lists.apache.org
/thread.html/4a77652531d62299a30815cf5f233af183425db8e3c9a824a814e768@%3Cdev.maven.apache.org%3E
web
-
lists.apache.org
/thread.html/00571f362a7a2470fba50a31282c65637c40d2e21ebe6ee535a4ed74@%3Ccommits.maven.apache.org%3E
web
-
ihacktoprotect.com
/post/dom4j-xml-injection
web
-
github.com
/dom4j/dom4j
web
-
github.com
/advisories/GHSA-6pcc-3rfx-4gpm
advisory
Sources
- CVE List CVE-2018-1000632
- GitHub Advisory GHSA-6pcc-3rfx-4gpm
- NVD CVE-2018-1000632
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.