{"id":"CVE-2022-36096","aliases":["GHSA-gjmq-x5x7-wc36"],"url":"https://o3.security/vulnerability/CVE-2022-36096","summary":"XWiki Platform vulnerable to Cross-site Scripting in the deleted attachments list","details":"### Impact\n\nIt's possible to store a JavaScript which will be executed by anyone viewing the deleted attachments index with an attachment containing javascript in its name.\n\nFor example, attachment a file with name `><img src=1 onerror=alert(1)>.jpg` will execute the alert.\n\n### Patches\n\nThis issue has been patched in XWiki 13.10.6 and 14.3.\n\n### Workarounds\n\nIt is possible to modify fix the vulnerability by editing the wiki page `XWiki.DeletedAttachments` with the object editor, open the `JavaScriptExtension` object and apply on the content the changes that can be found on the commit https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-19613\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)\n","published":"2022-09-08T20:30:13Z","modified":"2026-08-12T03:51:46.986419743Z","cvss":{"score":8.9,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L"},"epss":{"score":0.5947,"percentile":0.99077,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-index-ui","fixedVersion":"13.10.6"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-index-ui","fixedVersion":"14.3"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745","label":"xwiki/xwiki-platform@6705b0c"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19613"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36096.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gjmq-x5x7-wc36"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36096"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:46.986419743Z"}}