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.
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-platform | >= 15.0-rc-1, < 15.5.3, >= 15.6-rc-1, < 15.8-rc-1 | 15.5.3, 15.8-rc-1 |
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-platform-oldcore | >= 1.0, < 14.10.17 | 14.10.17 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xh35-w7wg-95v3
- https://nvd.nist.gov/vuln/detail/CVE-2024-21648
- 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://github.com/xwiki/xwiki-platform
- https://jira.xwiki.org/browse/XWIKI-21257
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-274- Platform
- Java / Kotlin (Maven)
- Package
org.xwiki.platform:xwiki-platform, org.xwiki.platform:xwiki-platform-oldcore- Disclosed
- 08.01.2024
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xh35-w7wg-95v3 - CC BY 4.0
Vulnerability history: org.xwiki.platform:xwiki-platform-oldcore
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 46
- First → latest
- 09.2020 07.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 12
- High 17
- Medium 15
- Low 2
Disclosures per year
- 2020: 2
- 2021: 1
- 2022: 12
- 2023: 15
- 2024: 7
- 2025: 6
- 2026: 3
-
XWiki has no right protection on rollback action this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.