GHSA-5j7g-cf6r-g2h7 · Severity: critical · Ecosystem: maven — Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki-platform-icon-ui
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](https://github.com/xwiki/xwiki-platform/commit/47eb8a5fba550f477944eb6da8ca91b87eaf1d01) 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.
Conclusion & alert: CVE-2022-41931 is rated High Exploit Risk (71.9/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.19%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 18.93% | 1.19% | -17.74% |
| 2 | 2025-12-29 | 8.51% | 18.93% | +10.42% |
| 3 | 2025-12-17 | — | 8.51% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.9 | 3.1 | CRITICAL |
|
3.1 | 6.0 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-5j7g-cf6r-g2h7 · Severity: critical · Ecosystem: maven — Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki-platform-icon-ui
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| xwiki | xwiki | > 6.4, < 13.10.7 | cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
| xwiki | xwiki | >= 14.0.0, < 14.4.2 | cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
| xwiki | xwiki | 6.4 | cpe:2.3:a:xwiki:xwiki:6.4:milestone2:*:*:*:*:*:* |
| xwiki | xwiki | 6.4 | cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:* |
| xwiki | xwiki | 14.4.3 | cpe:2.3:a:xwiki:xwiki:14.4.3:*:*:*:*:*:*:* |
| xwiki | xwiki | 14.4.4 | cpe:2.3:a:xwiki:xwiki:14.4.4:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/47eb8a5fba550f477944eb6da8ca91b87eaf1d01 | Patch Third Party Advisory |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-5j7g-cf6r-g2h7 | Exploit Patch Third Party Advisory |
| https://jira.xwiki.org/browse/XWIKI-19805 | Exploit Issue Tracking Patch Vendor Advisory |