{"id":"CVE-2022-36094","aliases":["GHSA-mxf2-4r22-5hq9"],"url":"https://o3.security/vulnerability/CVE-2022-36094","summary":"XWiki Platform Web Parent POM vulnerable to XSS in the attachment history","details":"### Impact\n\nIt's possible to store a JavaScript which will be executed by anyone viewing the history of 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.3RC1.\n\n### Workarounds\n\nIt is possible to replace viewattachrev.vm, the entry point for this attack, by a [patch](https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e)ed version from the patch without updating XWiki.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-19612\n\n### For more information\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:10:09Z","modified":"2026-08-12T03:51:32.537660994Z","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":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web","fixedVersion":"13.10.6"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-web","fixedVersion":"14.3-rc-1"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e","label":"xwiki/xwiki-platform@047ce9f"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19612"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36094.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36094"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:32.537660994Z"}}