Every CVE Search/ Get API key

CVE-2022-4245

Codehaus-plexus: xml external entity (xxe) injection

4.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

0.69%Up 0.6 points since Sep 26, 2023
90%50%10%1%

What each source reports

CVE List Score used 4.3

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.

Record
CVE-2022-4245
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-91
Updated
2026-11-02
EUVDEUVD-2023-2535 4.3

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.

Record
EUVD-2023-2535
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-jcwr-x25h-x5fh 4.3

codehaus-plexus vulnerable to XML 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.

Record
GHSA-jcwr-x25h-x5fh
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-91, CWE-611
Updated
2026-11-02
NVD 4.3

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.

Record
CVE-2022-4245
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-91, CWE-611
Updated
2026-11-02
OSV 4.3

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.

Record
CVE-2022-4245
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-91
Updated
2026-11-02
OSVGHSA-jcwr-x25h-x5fh 4.3

codehaus-plexus vulnerable to XML 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.

Record
GHSA-jcwr-x25h-x5fh
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-611, CWE-91
Updated
2026-11-02
Show 17 moreShow less
OSVUBUNTU-CVE-2022-4245 4.3

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.

Record
UBUNTU-CVE-2022-4245
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVCLSA-2024-1733961633 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (3 CVEs)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 3 CVEs. Fixed in 1.5.8.tuxcare.

Record
CLSA-2024-1733961633
Updated
2026-11-02
OSVCLSA-2026-1791931359 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (3 CVEs)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 3 CVEs. Fixed in 3.0.22-tuxcare.1.

Record
CLSA-2026-1791931359
Updated
2026-11-02
OSVCLSA-2026-1791960018 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (2 CVEs)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 2 CVEs. Fixed in 1.5.5-tuxcare.1.

Record
CLSA-2026-1791960018
Updated
2026-11-02
OSVCLSA-2026-1791965617 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.18-tuxcare.2.

Record
CLSA-2026-1791965617
Updated
2026-11-02
OSVCLSA-2026-1791965620 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.15-tuxcare.2.

Record
CLSA-2026-1791965620
Updated
2026-11-02
OSVCLSA-2026-1791965626 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.17-tuxcare.2.

Record
CLSA-2026-1791965626
Updated
2026-11-02
OSVCLSA-2026-1791965636 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.0.4-tuxcare.2.

Record
CLSA-2026-1791965636
Updated
2026-11-02
OSVCLSA-2026-1791965637 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 1.5.6-tuxcare.2.

Record
CLSA-2026-1791965637
Updated
2026-11-02
OSVCLSA-2026-1793127450 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (2 CVEs)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 2 CVEs. Fixed in 3.0.8-tuxcare.1.

Record
CLSA-2026-1793127450
Updated
2026-11-02
OSVCLSA-2026-1793136969 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.0.5-tuxcare.2.

Record
CLSA-2026-1793136969
Updated
2026-11-02
OSVCLSA-2026-1793136993 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.0.6-tuxcare.2.

Record
CLSA-2026-1793136993
Updated
2026-11-02
OSVCLSA-2026-1793137156 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.1-tuxcare.2.

Record
CLSA-2026-1793137156
Updated
2026-11-02
OSVCLSA-2026-1793137245 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.20-tuxcare.2.

Record
CLSA-2026-1793137245
Updated
2026-11-02
OSVCLSA-2026-1793729709 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 1.5.15-tuxcare.2.

Record
CLSA-2026-1793729709
Updated
2026-11-04
OSVCLSA-2026-1793827583 No score

TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)

TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.1-tuxcare.2.

Record
CLSA-2026-1793827583
Updated
2026-11-05
OSVDEBIAN-CVE-2022-4245 No score

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.

Record
DEBIAN-CVE-2022-4245
Updated
2026-11-03

Affected products

Show 19 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
org.codehaus.plexus:plexus-utils
Maven
before 3.0.24
3.0.24
org.codehaus.plexus:plexus-utils
TuxCare:Maven
From an advisory covering 3 CVEs
1.5.8 up to 1.5.8.tuxcare
1.5.8.tuxcare
org.codehaus.plexus:plexus-utils
TuxCare:Maven
From an advisory covering 3 CVEs
3.0.22 up to 3.0.22-tuxcare.1
3.0.22-tuxcare.1
org.codehaus.plexus:plexus-utils
TuxCare:Maven
From an advisory covering 2 CVEs
1.5.5 up to 1.5.5-tuxcare.1
1.5.5-tuxcare.1
org.codehaus.plexus:plexus-utils
TuxCare:Maven
3.0.18 up to 3.0.18-tuxcare.2, plus listed versions
3.0.18-tuxcare.1
3.0.18-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
3.0.15 up to 3.0.15-tuxcare.2, plus listed versions
3.0.15-tuxcare.1
3.0.15-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
3.0.17 up to 3.0.17-tuxcare.2, plus listed versions
3.0.17-tuxcare.1
3.0.17-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
2.0.4 up to 2.0.4-tuxcare.2, plus listed versions
2.0.4-tuxcare.1
2.0.4-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
1.5.6 up to 1.5.6-tuxcare.2, plus listed versions
1.5.6-tuxcare.1
1.5.6-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
From an advisory covering 2 CVEs
3.0.8 up to 3.0.8-tuxcare.1
3.0.8-tuxcare.1
Show 13 moreShow less
Affected packages
PackageAffectedFixed
org.codehaus.plexus:plexus-utils
TuxCare:Maven
2.0.5 up to 2.0.5-tuxcare.2, plus listed versions
2.0.5-tuxcare.1
2.0.5-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
2.0.6 up to 2.0.6-tuxcare.2, plus listed versions
2.0.6-tuxcare.1
2.0.6-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
3.0.1 up to 3.0.1-tuxcare.2, plus listed versions
3.0.1-tuxcare.1
3.0.1-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
3.0.20 up to 3.0.20-tuxcare.2, plus listed versions
3.0.20-tuxcare.1
3.0.20-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
1.5.15 up to 1.5.15-tuxcare.2, plus listed versions
1.5.15-tuxcare.1
1.5.15-tuxcare.2
org.codehaus.plexus:plexus-utils
TuxCare:Maven
2.1 up to 2.1-tuxcare.2, plus listed versions
2.1-tuxcare.1
2.1-tuxcare.2
plexus-utils2
Debian:12
before 3.0.24-1
3.0.24-1
plexus-utils2
Debian:13
before 3.0.24-1
3.0.24-1
plexus-utils2
Debian:14
before 3.0.24-1
3.0.24-1
org.codehaus.plexus:plexus-utils
Maven
before 3.0.24, plus listed versions
1.0.41.0.51.11.21.3
Show 45 moreShow less
1.41.4-alpha-11.4.11.4.21.4.31.4.41.4.51.4.61.4.71.4.81.4.91.51.5.11.5.101.5.111.5.121.5.131.5.141.5.151.5.21.5.31.5.41.5.51.5.61.5.71.5.81.5.92.0.02.0.12.0.22.0.32.0.42.0.52.0.62.0.72.13.03.0.13.0.103.0.113.0.123.0.133.0.143.0.153.0.16
3.0.24
plexus-utils2
Ubuntu:14.04:LTS
All versions, plus listed versions
2.0.5-12.0.5-1+deb7u1build0.14.04.1
None known
plexus-utils2
Ubuntu:16.04:LTS
All versions, plus listed versions
3.0.15-13.0.22-1
None known
plexus-utils2
Ubuntu:18.04:LTS
All versions, plus listed versions
3.0.24-3
None known

History

History
RecordedChangedSources
affected
affected, aliasesOSV
affected, aliases, factsOSV
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-4245 is a medium vulnerability (CVSS 4.3) in Codehaus-plexus Plexus-utils, published September 25, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.69%, the 53rd percentile. Fixed in org.codehaus.plexus:plexus-utils 3.0.24.

References

Show 10 moreShow less
This page doesn't list everything

Left out here: 15 versions. The JSON record has them.

MoveEnter Open