Summary
XSS/CSRF Remote Code Execution in XWiki.ConfigurableClass
Workarounds
The patch can be manually applied to the document XWiki.ConfigurableClass.
References
Impact
There is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, in this case it is much more convenient to exploit GHSA-qj86-p74r-7wp5 which is why this attack scenario won't be further considered in the following. In contrast to GHSA-qj86-p74r-7wp5, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. Alternatively, the URL can also be embedded as image source of an image in any content of the wiki like a comment that could be left by an anonymous user. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation.
A victim's authenticated browser session is used to submit forged requests to an application that cannot distinguish them from legitimate ones. Typical impact: state-changing actions performed as the victim without their consent.
CVE-2023-50722 has a CVSS score of 9.6 (Critical). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (14.10.15, 15.5.2, 15.7-rc-1); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1
Frequently Asked Questions
- What is CVE-2023-50722? CVE-2023-50722 is a critical-severity cross-site request forgery (CSRF) vulnerability in org.xwiki.platform:xwiki-platform-administration-ui (maven), affecting versions >= 2.3, < 14.10.15. It is fixed in 14.10.15, 15.5.2, 15.7-rc-1. A victim's authenticated browser session is used to submit forged requests to an application that cannot distinguish them from legitimate ones.
- How severe is CVE-2023-50722? CVE-2023-50722 has a CVSS score of 9.6 (Critical). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of org.xwiki.platform:xwiki-platform-administration-ui are affected by CVE-2023-50722? org.xwiki.platform:xwiki-platform-administration-ui (maven) versions >= 2.3, < 14.10.15 is affected.
- Is there a fix for CVE-2023-50722? Yes. CVE-2023-50722 is fixed in 14.10.15, 15.5.2, 15.7-rc-1. Upgrade to this version or later.
- Is CVE-2023-50722 exploitable, and should I be worried? Whether CVE-2023-50722 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2023-50722 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2023-50722?
- Upgrade
org.xwiki.platform:xwiki-platform-administration-uito 14.10.15 or later - Upgrade
org.xwiki.platform:xwiki-platform-administration-uito 15.5.2 or later - Upgrade
org.xwiki.platform:xwiki-platform-administration-uito 15.7-rc-1 or later
- Upgrade