MODERATE 4.3

CVE-2022-4245

codehaus-plexus vulnerable to XML injection

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.codehaus.plexus » plexus-utils
< 3.0.24
3.0.24

Blast radius

1affected artifacts
87affected versions
18,939dependent artifacts (est.)
652,572dependent versions

68% of the dependent artifacts (12,894) still pull an affected version in their latest release.

DepthDependent versions
Direct
47,827
2 hops
186,529
3 hops
226,445
4 hops
120,456
5 hops
51,500
6 hops
19,815

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.