CVE-2021-23926
XMLBeans XML Entity Expansion
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.1
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
CVE-2021-23926- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:P - Weakness
- CWE-776
- Updated
- 2026-11-02
CVE List No score
XMLBeans XML Entity Expansion
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
CVE-2021-23926- Updated
- 2026-11-02
EUVDEUVD-2021-1365
0.0
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
EUVD-2021-1365- CVSS
- 0.0 None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mw3r-pfmg-xp92
9.1
Improper Restriction of Recursive Entity References in Apache XMLBeans
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
GHSA-mw3r-pfmg-xp92- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-776
- Updated
- 2026-11-02
OSV
9.1
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
CVE-2021-23926- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-23926
9.1
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
DEBIAN-CVE-2021-23926- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVGHSA-mw3r-pfmg-xp92
9.1
Improper Restriction of Recursive Entity References in Apache XMLBeans
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
GHSA-mw3r-pfmg-xp92- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-776
- Updated
- 2026-11-02
OSVOESA-2021-1077
9.1
xmlbeans security update
XMLBeans is a tool that allows you to access the full power of XML in a Java friendly way. It is an XML-Java binding tool. The idea is that you can take advantage the richness and features of XML and XML Schema and have these features mapped as naturally as possible to the equivalent Java language and typing constructs. XMLBeans uses XML Schema to compile Java interfaces and classes that you can then use to access and modify XML instance data. Using XMLBeans is similar to using any other Java interface/class, you will see things like getFoo or setFoo just as you would expect when working with Java. While a major use of XMLBeans is to access your XML instance data with strongly typed Java classes there are also API's that allow you access to the full XML infoset (XMLBeans keeps full XML Infoset fidelity) as well as to allow you to reflect into the XML schema itself through an XML Schema Object model.
Security Fix(es):
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.(CVE-2021-23926)
- Record
OESA-2021-1077- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-23926
9.1
The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from malicious XML input. Vulnerabilities include possibilities for XML Entity Expansion attacks. Affects XMLBeans up to and including v2.6.0.
- Record
UBUNTU-CVE-2021-23926- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1770595753 No score
TuxCare security update for org.apache.xmlbeans:xmlbeans (1 CVE)
TuxCare rebuilt org.apache.xmlbeans:xmlbeans to address 1 CVE. Fixed in 2.6.0-tuxcare.1.
- Record
CLSA-2026-1770595753- Updated
- 2026-11-02
OSVCLSA-2026-1774398093 No score
TuxCare security update for 25 packages (3 CVEs)
TuxCare rebuilt 25 packages to address 3 CVEs. Fixed in 2.3.0-tuxcare.1.
- Record
CLSA-2026-1774398093- Updated
- 2026-11-02
OSVCLSA-2026-1778028243 No score
TuxCare security update for org.apache.xmlbeans:xmlbeans (1 CVE)
TuxCare rebuilt org.apache.xmlbeans:xmlbeans to address 1 CVE. Fixed in 2.3.0-tuxcare.1.
- Record
CLSA-2026-1778028243- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12455-1 No score
xmlbeans-2.6.0-12.1 on GA media
These are all security issues fixed in the xmlbeans-2.6.0-12.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12455-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3875-1 No score
Security update for xmlbeans
This update for xmlbeans fixes the following issues:
- CVE-2021-23926: Fixed XML parsers not protecting from malicious XML input (bsc#1180915).
- Record
SUSE-SU-2022:3875-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3876-1 No score
Security update for xmlbeans
This update for xmlbeans fixes the following issues:
- CVE-2021-23926: Fixed XML parsers not protecting from malicious XML input (bsc#1180915).
- Record
SUSE-SU-2022:3876-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.xmlbeans:xmlbeansMaven |
before 3.0.0 | 3.0.0 |
org.apache.xmlbeans:xmlbeansTuxCare:Maven |
2.6.0 up to 2.6.0-tuxcare.1 | 2.6.0-tuxcare.1 |
org.apache.xmlbeans:xmlbeansTuxCare:Maven |
2.3.0 up to 2.3.0-tuxcare.1 | 2.3.0-tuxcare.1 |
xmlbeansDebian:12 |
before 3.0.2-1 | 3.0.2-1 |
xmlbeansDebian:13 |
before 3.0.2-1 | 3.0.2-1 |
xmlbeansDebian:14 |
before 3.0.2-1 | 3.0.2-1 |
xmlbeansDebian:9 |
before 2.6.0+dfsg-1+deb9u1, plus listed versions 2.6.0+dfsg-1 |
2.6.0+dfsg-1+deb9u1 |
org.apache.xmlbeans:xmlbeansMaven |
before 3.0.0, plus listed versions 2.2.02.3.02.4.02.5.02.6.0 |
3.0.0 |
xmlbeansopenEuler:20.03-LTS-SP1 |
before 2.6.0-2.oe1 | 2.6.0-2.oe1 |
xmlbeansSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xmlbeansSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Linux Enterprise Server 15 SP2-BCL |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Linux Enterprise Server 15 SP2-LTSS |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Manager Proxy 4.1 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Manager Retail Branch Server 4.1 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Manager Server 4.1 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Enterprise Storage 7 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansopenSUSE:Leap 15.3 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansopenSUSE:Leap 15.4 |
before 2.6.0-150000.5.3.1 | 2.6.0-150000.5.3.1 |
xmlbeansSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 2.6.0-3.3.1 | 2.6.0-3.3.1 |
xmlbeansSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 2.6.0-3.3.1 | 2.6.0-3.3.1 |
xmlbeansUbuntu:16.04:LTS |
All versions, plus listed versions 2.6.0-22.6.0-3 |
None known |
xmlbeansUbuntu:18.04:LTS |
All versions, plus listed versions 2.6.0+dfsg-22.6.0+dfsg-33.0.2-1~18.04 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-23926 is a critical vulnerability (CVSS 9.1) in Apache Xmlbeans, published January 14, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.29%, the 93rd percentile. Fixed in org.apache.xmlbeans:xmlbeans 3.0.0.
References
poi.apache.org
issues.apache.org/jira/browse/XMLBEANS-517
lists.apache.org/thread.html/r2dc5588009dc9f0310b7382269f932cc96cae4c3901b747dda1a7fed%40%3Cjava-dev.axis.apache.org%3E
lists.apache.org/thread.html/rbb01d10512098894cd5f22325588197532c64f1c818ea7e4120d40c1%40%3Cjava-dev.axis.apache.org%3E
lists.debian.org/debian-lts-announce/2021/06/msg00024.html
oracle.com/security-alerts/cpuoct2021.html
Show 14 moreShow less
security.netapp.com/advisory/ntap-20210513-0004
oracle.com/security-alerts/cpujul2022.html
nvd.nist.gov/vuln/detail/CVE-2021-23926
lists.apache.org/thread.html/r2dc5588009dc9f0310b7382269f932cc96cae4c3901b747dda1a7fed@%3Cjava-dev.axis.apache.org%3E
lists.apache.org/thread.html/rbb01d10512098894cd5f22325588197532c64f1c818ea7e4120d40c1@%3Cjava-dev.axis.apache.org%3E
github.com/advisories/GHSA-mw3r-pfmg-xp92
security-tracker.debian.org/tracker/CVE-2021-23926
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1077
suse.com/support/update/announcement/2022/suse-su-20223875-1
bugzilla.suse.com/1180915
suse.com/security/cve/CVE-2021-23926
suse.com/support/update/announcement/2022/suse-su-20223876-1
ubuntu.com/security/CVE-2021-23926
cve.org/CVERecord?id=CVE-2021-23926