Summary
XWiki has no right protection on rollback action
Workarounds
There's no workaround for this vulnerability, except paying attention to delete old versions of documents that could allow users to gain more rights.
References
- JIRA ticket: https://jira.xwiki.org/browse/XWIKI-21257
- Commit: 4de72875ca49602796165412741033bfdbf1e680
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Impact
The rollback action is missing a right protection: it means that a user can rollback to a previous version of the page to gain rights they don't have anymore.
This vulnerability impacts all version of XWiki since rollback action is available.
CVE-2024-21648 has a CVSS score of 8.0 (High). The vector is network-reachable, low 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.17, 15.5.3, 15.8-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
The problem has been patched in XWiki 14.10.16, 15.5.3 and 15.8-rc-1 by ensuring that the rights are checked before performing the rollback.
Frequently Asked Questions
- What is CVE-2024-21648? CVE-2024-21648 is a high-severity security vulnerability in org.xwiki.platform:xwiki-platform-oldcore (maven), affecting versions >= 1.0, < 14.10.17. It is fixed in 14.10.17, 15.5.3, 15.8-rc-1.
- How severe is CVE-2024-21648? CVE-2024-21648 has a CVSS score of 8.0 (High). 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 packages are affected by CVE-2024-21648?
org.xwiki.platform:xwiki-platform-oldcore(maven) (versions >= 1.0, < 14.10.17)org.xwiki.platform:xwiki-platform(maven) (versions >= 15.0-rc-1, < 15.5.3)
- Is there a fix for CVE-2024-21648? Yes. CVE-2024-21648 is fixed in 14.10.17, 15.5.3, 15.8-rc-1. Upgrade to this version or later.
- Is CVE-2024-21648 exploitable, and should I be worried? Whether CVE-2024-21648 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-2024-21648 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-2024-21648?
- Upgrade
org.xwiki.platform:xwiki-platform-oldcoreto 14.10.17 or later - Upgrade
org.xwiki.platform:xwiki-platformto 15.5.3 or later - Upgrade
org.xwiki.platform:xwiki-platformto 15.8-rc-1 or later
- Upgrade