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.
Remediation
References
https://access.redhat.com/security/cve/CVE-2022-4245
https://access.redhat.com/errata/RHSA-2023:3906
https://bugzilla.redhat.com/show_bug.cgi?id=2149843
https://access.redhat.com/errata/RHSA-2023:2135
Related Vulnerabilities
CVE-2022-41915 Vulnerability in maven package io.netty:netty-codec
CVE-2013-1965 Vulnerability in maven package org.apache.struts:struts-core
CVE-2020-5258 Vulnerability in maven package org.webjars:dojo
CVE-2018-1000194 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2020-2246 Vulnerability in maven package org.jenkins-ci.plugins:valgrind