ADVISORIES

GitHub Advisory Database

GHSA-jcwr-x25h-x5fh

codehaus-plexus vulnerable to XML injection

Moderate CVE-2022-4245

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.codehaus.plexus:plexus-utils
All versions before 3.0.24 (fixed in 3.0.24)

References