CVE-2022-41931
CRITICALDescription
xwiki-platform-icon-ui is vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'). Any user with view rights on commonly accessible documents including the icon picker macro can execute arbitrary Groovy, Python or Velocity code in XWiki due to improper neutralization of the macro parameters of the icon picker macro. The problem has been patched in XWiki 13.10.7, 14.5 and 14.4.2. Workarounds: The patch can be manually applied by editing `IconThemesCode.IconPickerMacro` in the object editor. The whole document can also be replaced by the current version by importing the document from the XAR archive of a fixed version as the only changes to the document have been security fixes and small formatting changes.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 65% of all known CVEs.
References
Related Vulnerabilities
Other CWE-95 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2025-24893 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2026-33017 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2024-36401 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2024-21650 | Critical | 10.0 | 93% | - | - |
| CVE-2023-37462 | Critical | 9.9 | 91% | - | Fix |
| CVE-2024-7954 | Critical | 9.8 | 90% | - | Fix |
Common questions
How do I fix CVE-2022-41931?
Upgrade xwiki to 14.4.2 or later.
Is CVE-2022-41931 being actively exploited?
Not that we know of. CVE-2022-41931 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.2% is the estimated probability that it will be exploited in the next 30 days. That is higher than 65% of all scored CVEs.
How severe is CVE-2022-41931?
CVE-2022-41931 has a CVSS v3 base score of 9.9, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2022-41931 affect?
Published advisories record a fix for xwiki (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2022-41931
Markdown
[](https://tridentstack.com/cve/CVE-2022-41931)HTML
<a href="https://tridentstack.com/cve/CVE-2022-41931"><img src="https://tridentstack.com/cve/badge/CVE-2022-41931.svg" alt="CVE-2022-41931"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.