CVE-2022-4245
MEDIUM 4.3CVSS 3.1codehaus-plexus vulnerable to XML injection
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.
- Published
- 25 Sep 2023
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-611CWE-91
- Also known as
- GHSA-jcwr-x25h-x5fh
- Sources
- NVDJSONOSV GHSA-jcwr-x25h-x5fhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | codehaus-plexus | plexus-utilscpe:2.3:a:codehaus-plexus:plexus-utils:*:*:*:*:*:*:*:* |
< 3.0.24 | 3.0.24 |
| NVD | redhat | integration_camel_kcpe:2.3:a:redhat:integration_camel_k:*:*:*:*:*:*:*:* |
< 1.10.1 | 1.10.1 |
| OSV | Maven | org.codehaus.plexus:plexus-utils | < 3.0.24 | 3.0.24 |
References
- https://access.redhat.com/errata/RHSA-2023:2135 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:3906 · Third Party Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2022-4245 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2149843 · Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-4245 · ADVISORY
- https://github.com/codehaus-plexus/plexus-utils/issues/3 · WEB
- https://github.com/codehaus-plexus/plexus-utils/commit/f933e5e78dc2637e485447ed821fe14904f110de · WEB
- https://github.com/codehaus-plexus/plexus-utils · PACKAGE
- https://security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-461102 · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 25 Sep 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Sep 2023)