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/errata/RHSA-2023:2135
https://access.redhat.com/errata/RHSA-2023:3906
https://access.redhat.com/security/cve/CVE-2022-4245
https://bugzilla.redhat.com/show_bug.cgi?id=2149843
Related Vulnerabilities
CVE-2018-3786 Vulnerability in npm package egg-scripts
CVE-2022-31083 Vulnerability in npm package parse-server
CVE-2021-24122 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2017-17868 Vulnerability in maven package com.liferay.portal:portal-service
CVE-2012-5783 Vulnerability in maven package commons-httpclient:commons-httpclient