CVE-2024-21648: XWiki has no right protection on rollback action
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. Patches 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.
Published Jan 8, 2024 · Updated Jan 9, 2024
Affected packages
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 1.0, < 14.10.17
- Fixed in
- 14.10.17
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform
- Ecosystem
- Maven
- Affected
- >= 15.0-rc-1, < 15.5.3
- Fixed in
- 15.5.3
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform
org.xwiki.platform:xwiki-platform
- Ecosystem
- Maven
- Affected
- >= 15.6-rc-1, < 15.8-rc-1
- Fixed in
- 15.8-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Patches
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.
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](mailto:[email protected])
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xh35-w7wg-95v3
- https://github.com/xwiki/xwiki-platform/commit/1f3220f14bb3a4dcbd10d31134c39a06037f9a74
- https://github.com/xwiki/xwiki-platform/commit/4de72875ca49602796165412741033bfdbf1e680
- https://github.com/xwiki/xwiki-platform/commit/4fa7f302b14da6f05a6904a14e3741c4c06c40a1
- https://jira.xwiki.org/browse/XWIKI-21257
- https://nvd.nist.gov/vuln/detail/CVE-2024-21648
- https://github.com/advisories/GHSA-xh35-w7wg-95v3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-34151
XWiki Platform Old Core: Resource path traversal via /skin/ action endpoint in Jetty 12+
high8.2Jul 7, 2026CVE-2026-40104
XWiki's REST APIs can list all pages/spaces, leading to unavailability
medium8.2Apr 14, 2026CVE-2026-33229
XWiki vulnerable to remote code execution with script right through unprotected Velocity scripting API
high8.6Apr 8, 2026CVE-2025-54124
XWiki leaks password hashes and other accessible password properties
high7.1Aug 5, 2025CVE-2025-54125
XWiki exposes passwords and emails stored in fields not named password/email in xml.vm
high8.7Aug 5, 2025CVE-2025-54385
XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API
high8.6Jul 25, 2025
