CVE-2022-41931
HIGH 8.8CVSS 3.1Improper 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 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.
- Published
- 23 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-95
- Also known as
- GHSA-5j7g-cf6r-g2h7
- Sources
- NVDJSONOSV GHSA-5j7g-cf6r-g2h7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
> 6.4, < 13.10.7 | 13.10.7 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 14.0.0, < 14.4.2 | 14.4.2 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:6.4:milestone2:*:*:*:*:*:* |
= 6.4 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:* |
= 6.4 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:14.4.3:*:*:*:*:*:*:* |
= 14.4.3 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:14.4.4:*:*:*:*:*:*:* |
= 14.4.4 | |
| OSV | Maven | org.xwiki.platform:xwiki-platform-icon-ui | >= 6.4-milestone-2, < 13.10.7 | 13.10.7 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-icon-ui | >= 14.0.0, < 14.4.2 | 14.4.2 |
References
- https://github.com/xwiki/xwiki-platform/commit/47eb8a5fba550f477944eb6da8ca91b87eaf1d01 · Patch, Third Party Advisory, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-5j7g-cf6r-g2h7 · Exploit, Patch, Third Party Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-19805 · Exploit, Issue Tracking, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41931 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2022)