CVE-2022-41931

HighCVSS 8.8/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 8.8/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Nov 23, 2022
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2022

CVE-2022-419325.3XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible to make XWiki create CVE-2022-419336.5XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When the `reset a forgotten passworCVE-2022-419348.8XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with view rights on commonCVE-2022-419354.3XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users without the right to view docCVE-2022-419367.5XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The `modifications` rest endpoint dCVE-2022-419378.1XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The application allows anyone with CVE-2022-419385.4Flarum is an open source discussion platform. Flarum's page title system allowed for page titles to be converted into HTML DOM nodes when paCVE-2022-419397.4knative.dev/func is is a client library and CLI enabling the development and deployment of Kubernetes functions. Developers using a maliciouCVE-2022-41948.8Use after free in Accessibility in Google Chrome prior to 108.0.5359.71 allowed a remote attacker to potentially exploit heap corruption viaCVE-2022-419406.5Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. A specially CVE-2022-419414.8GLPI is a Free Asset and IT Management Software package. Versions 10.0.0 and above, prior to 10.0.6, are subject to Cross-site Scripting. AnCVE-2022-419427.8Sourcegraph is a code intelligence platform. In versions prior to 4.1.0 a command Injection vulnerability existed in the gitserver service,
CVE-2022-41931: High severity, CVSS 8.8 | Vulnix