GitHub Advisoryadvisory · Maven

GHSA-jcwr-x25h-x5fh codehaus-plexus vulnerable to XML injection

MEDIUM Published 2023-09-25 Modified 2024-05-03 Official page ↗
Aliases
CVE-2022-4245
Ecosystem
Maven
Packages
org.codehaus.plexus:plexus-utils
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-611, CWE-91
Reviewed
2023-09-26

Affected packages

• Maven org.codehaus.plexus:plexus-utils: < 3.0.24 → fixed in 3.0.24

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.

Related

Alias · CVE (1)

  • CVE-2022-4245 A flaw was found in codehaus-plexus. vulnerability

Weakness · CWE (2)

  • CWE-611 Improper Restriction of XML External Entity Reference weakness
  • CWE-91 XML Injection weakness

References