{"id":"GHSA-xh35-w7wg-95v3","summary":"XWiki has no right protection on rollback action","details":"### Impact\n\nThe 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. \nThis vulnerability impacts all version of XWiki since rollback action is available. \n\n### Patches\n\nThe 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. \n\n### Workarounds\n\nThere's no workaround for this vulnerability, except paying attention to delete old versions of documents that could allow users to gain more rights. \n\n### References\n\n* JIRA ticket: https://jira.xwiki.org/browse/XWIKI-21257\n* Commit: [4de72875ca49602796165412741033bfdbf1e680](https://github.com/xwiki/xwiki-platform/commit/4de72875ca49602796165412741033bfdbf1e680)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","aliases":["CVE-2024-21648"],"modified":"2026-09-10T03:50:05.251657687Z","published":"2024-01-08T16:25:58Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-01-08T16:25:58Z","nvd_published_at":"2024-01-09T00:15:44Z","cwe_ids":["CWE-274"]},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xh35-w7wg-95v3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21648"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/1f3220f14bb3a4dcbd10d31134c39a06037f9a74"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/4de72875ca49602796165412741033bfdbf1e680"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/4fa7f302b14da6f05a6904a14e3741c4c06c40a1"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-21257"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-oldcore","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"14.10.17"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-xh35-w7wg-95v3/GHSA-xh35-w7wg-95v3.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.0-rc-1"},{"fixed":"15.5.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-xh35-w7wg-95v3/GHSA-xh35-w7wg-95v3.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.6-rc-1"},{"fixed":"15.8-rc-1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-xh35-w7wg-95v3/GHSA-xh35-w7wg-95v3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}