CVE-2022-4245 | Codehaus-plexus: xml external entity (xxe) injection

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.

Published: 2023-09-25 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-4245 is rated Low Risk (34.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.69%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-4245

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.10% 0.69% +0.59%
2 2025-11-21 0.21% 0.10% -0.10%
3 2025-11-18 0.21%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-4245

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 1.4 [email protected]
4.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 1.4 [email protected]

Weakness enumeration for CVE-2022-4245

GitHub Security Advisory for CVE-2022-4245

GHSA-jcwr-x25h-x5fh · Severity: medium · Ecosystem: maven — codehaus-plexus vulnerable to XML injection

OS Trackers for CVE-2022-4245

vendor priority summary link
debian not yet assigned CVE-2022-4245 not yet assigned priority: Debian including 1 source packages (plexus-utils2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-4245
redhat medium https://access.redhat.com/security/cve/CVE-2022-4245
ubuntu medium CVE-2022-4245 medium priority: Ubuntu including 1 source packages (plexus-utils2), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 8, needs-triage 3, released 1. https://ubuntu.com/security/CVE-2022-4245

Affected software / configurations for CVE-2022-4245

Vendor Product Version Raw CPE
codehaus-plexus plexus-utils < 3.0.24 cpe:2.3:a:codehaus-plexus:plexus-utils:*:*:*:*:*:*:*:*
redhat integration_camel_k < 1.10.1 cpe:2.3:a:redhat:integration_camel_k:*:*:*:*:*:*:*:*

References for CVE-2022-4245

cvelogic Threat Intelligence