{"id":"CVE-2022-36096","published":"2022-09-08T20:30:13Z","modified":"2025-04-23T17:12:48Z","title":"XWiki Platform vulnerable to Cross-site Scripting in the deleted attachments list","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 2.2-milestone-1, < 13.10.6",">= 14.0, < 14.3"]}],"description":{"text":"The XWiki Platform Index UI is an Index of all pages, attachments, orphans and deleted pages and attachments for XWiki Platform, a generic wiki platform. Prior to versions 13.10.6 and 14.3, it's possible to store JavaScript which will be executed by anyone viewing the deleted attachments index with an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3. As a workaround, 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 fix commit.","provenance":"source","from":"CVE.org"},"summary":{"text":"A cross-site scripting flaw in the deleted attachments list of the Index UI in xwiki-platform, the XWiki Platform's generic wiki component that indexes pages, attachments, orphans and deleted items. An attacker with low-privileged access to the wiki who stores an attachment whose name contains JavaScript can have that script run in the browser of anyone who views the deleted attachments index, which requires user interaction and can affect the victim's session in another security scope.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:19Z"},"cvss":{"score":8.9,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.60225,"percentile":0.99137,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":null,"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gjmq-x5x7-wc36","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19613","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-index-ui","vulnerableRanges":[">=2.2-milestone-1, <13.10.6",">=14.0, <14.3"],"patched":["13.10.6","14.3"],"from":["GHSA-gjmq-x5x7-wc36"],"provenance":"source"}],"advisories":[{"id":"GHSA-gjmq-x5x7-wc36","url":"https://github.com/advisories/GHSA-gjmq-x5x7-wc36","severity":"HIGH","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-index-ui","vulnerableRanges":[">=2.2-milestone-1, <13.10.6"],"patched":["13.10.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-gjmq-x5x7-wc36","url":"https://github.com/advisories/GHSA-gjmq-x5x7-wc36","severity":"HIGH","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-index-ui","vulnerableRanges":[">=14.0, <14.3"],"patched":["14.3"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-6824","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-6824","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-09-08","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-36096","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.83,"detail":"percentile 0.9914"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.23,"detail":"base score 8.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}