{"id":"CVE-2024-41947","aliases":["GHSA-692v-783f-mg8x"],"url":"https://o3.security/vulnerability/CVE-2024-41947","summary":"XWiki Platform XSS through conflict resolution","details":"### Impact\n\nBy creating a conflict when another user with more rights is currently editing a page, it is possible to execute JavaScript snippets on the side of the other user, which compromises the confidentiality, integrity and availability of the whole XWiki installation.\n\nTo reproduce on a XWiki instance, a user with admin rights needs to edit a document without saving right away.\nThen, as another user without any other right than edit on the specific document, change the whole content to `<script>alert('XSS')</script>`.\nWhen the admin user then saves the document, a conflict popup appears. If they select \"Fix each conflict individually\" and see an alert displaying \"XSS\", then the instance is vulnerable.\n\n### Patches\n\nThis has been patched in XWiki 15.10.8 and 16.3.0RC1.\n\n### Workarounds\n\nWe're not aware of any workaround except upgrading.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-21626\n* https://github.com/xwiki/xwiki-platform/commit/821d43ec45e67d45a6735a0717b9b77fffc1cd9f\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)","published":"2024-07-31T15:24:20.271Z","modified":"2026-10-28T10:42:02.037251143Z","cvss":{"score":9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},"epss":{"score":0.01667,"percentile":0.75608,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web-templates","fixedVersion":"15.10.8"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web-templates","fixedVersion":"16.3.0-rc-1"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/821d43ec45e67d45a6735a0717b9b77fffc1cd9f","label":"xwiki/xwiki-platform@821d43e"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-21626"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41947.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-692v-783f-mg8x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41947"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/821d43ec45e67d45a6735a0717b9b77fffc1cd9f"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/e00e159d3737397eebd1f6ff925c1f5cb7cdec34"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T10:42:02.037251143Z"}}