{"id":"CVE-2024-21648","summary":"XWiki has no right protection on rollback action","details":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The rollback action is missing a right protection, a user can rollback to a previous version of the page to gain rights they don't have anymore. The problem has been patched in XWiki 14.10.17, 15.5.3 and 15.8-rc-1 by ensuring that the rights are checked before performing the rollback. ","aliases":["GHSA-xh35-w7wg-95v3"],"modified":"2026-08-12T03:51:27.551930295Z","published":"2024-01-08T23:31:50.298Z","database_specific":{"cwe_ids":["CWE-274"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21648.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-21257"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21648.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/4de72875ca49602796165412741033bfdbf1e680"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-commons","events":[{"introduced":"0"},{"fixed":"27bd845c8b9aae7a8dc3569fef195450b70fb552"},{"introduced":"fdba4ca1398766e912f7888af5bdefbeef60d8b0"},{"fixed":"eebf4bcc90835344b01cd0228b53a25c87e697a8"},{"introduced":"1e0e26611ad39442be884e876d902441a51fd34a"},{"fixed":"7b53a72fe600671263014525551ab4c9346d5f34"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"14.10.17"},{"introduced":"15.0"},{"fixed":"15.5.3"},{"introduced":"15.6"},{"fixed":"15.8"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"93d8322eda7b68fd66f33334b982b047d7cf4f36"},{"fixed":"8fc6dd5d6fd20323bdad4a5c0947abd17910850f"},{"introduced":"d823334f762d5ad86bea378b65af0b230668d401"},{"fixed":"c08f3b6b8cdebed64f4f513efc968a01892a48d9"},{"introduced":"201a8cdfdaad44618c79c6dd0c0bb855b446aafb"},{"fixed":"b0b2c71ded2c886acbe98a71e0bda1728cf86536"}],"database_specific":{"extracted_events":[{"introduced":"1.0"},{"fixed":"14.10.17"},{"introduced":"15.0-rc-1"},{"fixed":"15.5.3"},{"introduced":"15.6-rc-1"},{"fixed":"15.8-rc-1"}],"source":"AFFECTED_FIELD"}}],"versions":["xwiki-commons-15.8-rc-1","xwiki-commons-14.10.16","xwiki-commons-15.5.2","xwiki-commons-14.10.15","xwiki-commons-15.5.1","xwiki-commons-14.10.14","xwiki-commons-15.5","xwiki-commons-14.10.13","xwiki-commons-15.5-rc-1","xwiki-commons-14.10.12","xwiki-commons-14.10.11","xwiki-commons-14.10.10","xwiki-commons-14.10.9","xwiki-commons-14.10.8","xwiki-commons-14.10.7","xwiki-commons-14.10.6","xwiki-commons-14.10.5","xwiki-commons-14.10.4","xwiki-commons-14.10.3","xwiki-commons-14.10.2","xwiki-commons-14.10.1","xwiki-commons-14.10","xwiki-commons-8.3-milestone-2","xwiki-commons-8.3-milestone-1","xwiki-commons-8.2-milestone-2","xwiki-commons-8.2-milestone-1","xwiki-commons-8.1-milestone-2","xwiki-commons-8.1-milestone-1","xwiki-commons-8.0-milestone-2","xwiki-commons-8.0-milestone-1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21648.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"}]}