# CVE-2022-41931: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki-platform-icon-ui

Source: https://junglewise.ai/threats/cve-2022-41931-improper-neutralization-of-directives-in-dynamically-evaluated  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-11-21  
License: CC BY 4.0 with a link back

CVE-2022-41931 · Severity: low · CVSS 3.1 · Published 2022-11-21

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki-platform-icon-ui

Technologies: [org.xwiki.platform:xwiki-platform-icon-ui (Maven)](https://junglewise.ai/threats/technologies/org-xwiki-platform-xwiki-platform-icon-ui). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-41931 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-41931 being exploited in the wild.

**How severe is CVE-2022-41931?** Low severity, with a CVSS score of 3.1, published 21 November 2022.

**Which products and versions are affected?** org.xwiki.platform:xwiki-platform-icon-ui (Maven) ECOSYSTEM:introduced=6.4-milestone-2,fixed=13.10.7.

**Is there a fix for CVE-2022-41931?** Yes. org.xwiki.platform:xwiki-platform-icon-ui (Maven): upgrade to 13.10.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-41931?** Check whether you run org.xwiki.platform:xwiki-platform-icon-ui (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.xwiki.platform:xwiki-platform-icon-ui (Maven): upgrade to 13.10.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-icon-ui to 13.10.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.xwiki.platform:xwiki-platform-icon-ui (Maven) ECOSYSTEM:introduced=6.4-milestone-2,fixed=13.10.7

## Identifiers

- CVE-2022-41931
- GHSA-5j7g-cf6r-g2h7

## Related threats

- [XWiki Platform vulnerable to Code Injection in icon themes](https://junglewise.ai/threats/cve-2023-36470-xwiki-platform-vulnerable-to-code-injection-in-icon-themes)
- [XWiki Platform vulnerable to privilege escalation via async macro and IconThemeSheet from the user profile](https://junglewise.ai/threats/cve-2023-26472-xwiki-platform-vulnerable-to-privilege-escalation-via-async-macro)
