Read the docs
TI-2022-20272 Aliases CVE-2022-41931GHSA-5j7g-cf6r-g2h7

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

Priority HIGH 76CWE-95Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01295 70th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed xwiki-platform (xwiki): 13.10.7, 14.4.2org.xwiki.platform:xwiki-platform-icon-ui (Maven): 13.10.7, 14.4.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platform6.4-milestone-2 to before 13.10.7; 14.0.0 to before 14.4.213.10.7, 14.4.2Patch availableCNA
—org.xwiki.platform:xwiki-platform-icon-ui (Maven)6.4-milestone-2 to before 13.10.713.10.7Patch availableGHSA-5j7g-cf6r-g2h7
—org.xwiki.platform:xwiki-platform-icon-ui (Maven)14.0.0 to before 14.4.214.4.2Patch availableGHSA-5j7g-cf6r-g2h7
  • xwiki-platform VendorXWiki Affected 6.4-milestone-2 to before 13.10.7; 14.0.0 to before 14.4.2 Fixed in 13.10.7, 14.4.2 Patch available CNA
  • org.xwiki.platform:xwiki-platform-icon-ui (Maven) Vendor— Affected 6.4-milestone-2 to before 13.10.7 Fixed in 13.10.7 Patch available GHSA-5j7g-cf6r-g2h7
  • org.xwiki.platform:xwiki-platform-icon-ui (Maven) Vendor— Affected 14.0.0 to before 14.4.2 Fixed in 14.4.2 Patch available GHSA-5j7g-cf6r-g2h7

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*after 6.4, before 13.10.7; 14.0.0 to before 14.4.2VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:6.4:milestone2:*:*:*:*:*:*6.4 milestone2VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:*6.4 milestone3VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:14.4.3:*:*:*:*:*:*:*14.4.3VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:14.4.4:*:*:*:*:*:*:*14.4.4VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions after 6.4, before 13.10.7; 14.0.0 to before 14.4.2 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:6.4:milestone2:*:*:*:*:*:* Versions 6.4 milestone2 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:* Versions 6.4 milestone3 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:14.4.3:*:*:*:*:*:*:* Versions 14.4.3 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:14.4.4:*:*:*:*:*:*:* Versions 14.4.4 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 13.10.7, 14.4.2
  • Fix · GHSA-5j7g-cf6r-g2h7 org.xwiki.platform:xwiki-platform-icon-ui (Maven) Fixed in 13.10.7 Advisory →
  • Fix · GHSA-5j7g-cf6r-g2h7 org.xwiki.platform:xwiki-platform-icon-ui (Maven) Fixed in 14.4.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-41931
  2. 2026-10-03 Alias added: GHSA-5j7g-cf6r-g2h7

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources