CVE-2022-23616 is a high-severity (CVSS 8.8) CWE-74 vulnerability in org.xwiki.platform:xwiki-platform-administration-ui. A fix is available for org.xwiki.platform:xwiki-platform-administration-ui — see the affected versions and patch details below.
Remote code execution in xwiki-platform
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2022-23616 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.xwiki.platform:xwiki-platform-administration-uiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
It's possible for an unprivileged user to perform a remote code execution by injecting a groovy script in her own profile and by calling the Reset password feature since the feature is performing a save of the user profile with programming rights in the impacted versions of XWiki.
Patches
The problem has been patched in XWiki 13.1RC1 with a complete refactoring of the Reset password feature.
Workarounds
There's different possible workarounds, all consisting in modifying the XWiki/ResetPassword page.
- the Reset password feature can be entirely disabled by deleting the XWiki/ResetPassword page
- the script in XWiki/ResetPassword can also be modified or removed: an administrator can replace it with a simple email contact to ask an administrator to reset the password.
References
https://jira.xwiki.org/browse/XWIKI-16661
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira
- Email us at Security mailing-list
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-administration-ui | ≥ 3.1-milestone-1&&< 13.1RC1 | 13.1RC1org.xwiki.platform:xwiki-platform-administration-ui:13.1RC1 |
Affected Products
xwikixwikiDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-administration-ui, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-administration-ui to 13.1RC1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-23616 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2022-23616 in your dependencies?
Find it across Maven, including transitive dependencies.