CVE-2020-10683
dom4j allows External Entities by default which might enable XXE attacks
Also known as GHSA-hwj3-m3p6-hj38
Mitigation
- Upgrade org.dom4j:dom4j to one of 2.0.3, 2.1.3 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.dom4j:dom4j (< 2.0.3)
- Projects that depend on Maven package dom4j:dom4j (<= 1.6.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.dom4j:dom4j < 2.0.3; dom4j:dom4j <= 1.6.1
- Fixed in
- 2.0.3, 2.1.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 6.72% chance of exploitation in 30 days (percentile 95, 2026-11-26)
- CWE
- CWE-611
- Modified
Description
dom4j before 2.0.3 and 2.1.x 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.dom4j:dom4j | < 2.0.3 | 2.0.3, 2.1.3 | osv |
| Maven dom4j:dom4j | <= 1.6.1 | — | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-10683. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-10683.md Affected: org.dom4j:dom4j < 2.0.3; dom4j:dom4j <= 1.6.1 Fixed in: 2.0.3, 2.1.3 Steps: 1. Search this machine and project for org.dom4j:dom4j (Maven), dom4j:dom4j (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://bugzilla.redhat.com/show_bug.cgi?id=1694235
- https://github.com/dom4j/dom4j/commit/a8228522a99a02146106672a34c104adbda5c658
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://github.com/dom4j/dom4j/commits/version-2.0.3
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://github.com/dom4j/dom4j/commit/1707bf3d898a8ada3b213acb0e3b38f16eaae73d
Other
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html
- https://github.com/dom4j/dom4j/releases/tag/version-2.1.3
- https://security.netapp.com/advisory/ntap-20200518-0002/
- https://github.com/dom4j/dom4j/issues/87
- https://lists.apache.org/thread.html/r51f3f9801058e47153c0ad9bc6209d57a592fc0e7aefd787760911b8%40%3Cdev.velocity.apache.org%3E
- https://lists.apache.org/thread.html/r91c64cd51e68e97d524395474eaa25362d564572276b9917fcbf5c32%40%3Cdev.velocity.apache.org%3E
- https://lists.apache.org/thread.html/rb1b990d7920ae0d50da5109b73b92bab736d46c9788dd4b135cb1a51%40%3Cnotifications.freemarker.apache.org%3E
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://usn.ubuntu.com/4575-1
- https://security.netapp.com/advisory/ntap-20200518-0002
- https://lists.apache.org/thread.html/rb1b990d7920ae0d50da5109b73b92bab736d46c9788dd4b135cb1a51@%3Cnotifications.freemarker.apache.org%3E
- https://lists.apache.org/thread.html/r91c64cd51e68e97d524395474eaa25362d564572276b9917fcbf5c32@%3Cdev.velocity.apache.org%3E
- https://lists.apache.org/thread.html/r51f3f9801058e47153c0ad9bc6209d57a592fc0e7aefd787760911b8@%3Cdev.velocity.apache.org%3E
- https://github.com/dom4j/dom4j
FAQ
Is CVE-2020-10683 being exploited?
There is no confirmed exploitation: CVE-2020-10683 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.72% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-10683?
Critical: CVSS 9.8 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2020-10683?
org.dom4j:dom4j < 2.0.3; dom4j:dom4j <= 1.6.1.
Is there a fix for CVE-2020-10683?
Yes. Fixed in 2.0.3, 2.1.3. Upgrade org.dom4j:dom4j to one of 2.0.3, 2.1.3 (or later in the same release line).
How do I check if I'm affected by CVE-2020-10683?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.