CVE-2022-4245: Codehaus-plexus: xml external entity (xxe) injection
Vulnerability summary
CVE-2022-4245 is a medium (CVSS 4.3) XML Injection vulnerability in codehaus-plexus plexus-utils. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 54.3% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-09-2023PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A flaw was found in codehaus-plexus. The org.codehaus.plexus.util.xml.XmlWriterUtil#writeComment fails to sanitize comments for a --> sequence. This issue means that text contained in the command string could be interpreted as XML and allow for XML injection.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · MavenEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.69%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.69% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-91XML InjectionThe product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.
- CWE-611Improper Restriction of XML External Entity ReferenceThe product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard51 products
- eco-java-gradle-1.11All versions (No fix recorded)
- eco-java-gradle-2.0All versions (No fix recorded)
- eco-java-gradle-2.1All versions (No fix recorded)
- eco-java-gradle-2.10All versions (No fix recorded)
- eco-java-gradle-2.11All versions (No fix recorded)
Codehaus-plexus1 product
- plexus-utils< 3.0.24
Debian1 product
- plexus-utils2< 3.0.24-1
Org.codehaus.plexus1 product
- plexus-utils< 3.0.24
Redhat1 product
- integration_camel_k< 1.10.1
Ubuntu1 product
- plexus-utils2All versions (No fix recorded)
6 vendors · 56 products
References
15 links- access.redhat.com/errata/RHSA-2023:2135Vendor AdvisoryX Refsource REDHATAdvisoryWEBThird Party Advisory
- access.redhat.com/errata/RHSA-2023:3906Vendor AdvisoryX Refsource REDHATAdvisoryWEBThird Party Advisory
- access.redhat.com/security/cve/CVE-2022-4245VDB EntryX Refsource REDHATAdvisoryWEBThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2149843Issue TrackingX Refsource REDHATREPORTWEBThird Party Advisory