{"id":"CVE-2023-32071","aliases":["CVE-2023-32071","GHSA-j9h5-vcgv-2jfm"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki Platform vulnerable to RXSS via editor parameter - importinline template","summary":"XWiki Platform is a generic wiki platform. Starting in versions 2.2-milestone-1 and prior to versions 14.4.8, 14.10.4, and 15.0-rc-1, it's possible to execute javascript with the right of any user by leading him to a special URL on the wiki targeting a page which contains an attachment. This has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8. The easiest possible workaround is to edit file `<xwiki app>/templates/importinline.vm` and apply the modification described in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform. Starting in versions 2.2-milestone-1 and prior to versions 14.4.8, 14.10.4, and 15.0-rc-1, it's possible to execute javascript with the right of any user by leading him to a special URL on the wiki targeting a page which contains an attachment. This has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8. The easiest possible workaround is to edit file `<xwiki app>/templates/importinline.vm` and apply the modification described in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIt's possible to execute javascript with the right of any user by leading him to a special URL on the wiki targeting a page which contains an attachment.\n\nTo reproduce:\n* add an attachment to a page (for example, your user profile)\n* add `?xpage=importinline&editor=%22%3E%3Cimg%20src%20onerror=alert(document.domain)%3E` to the page view URL as in `https://myhost/xwiki/bin/view/XWiki/MyUser?xpage=importinline&editor=%22%3E%3Cimg%20src%20onerror=alert(document.domain)%3E`\n\n### Patches\n\nThis has been patched in XWiki 15.0-rc-1, 14.10.4 and 14.4.8.\n\n### Workarounds\n\nThe easiest is to edit file `<xwiki app>/templates/importinline.vm` and apply the modification described on https://github.com/xwiki/xwiki-platform/commit/28905f7f518cc6f21ea61fe37e9e1ed97ef36f01\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-20340\nhttps://app.intigriti.com/company/submissions/e95a7ad5-7029-4627-abf0-3e3e3ea0b4ce/XWIKI-E93DFEYK\n\n### Attribution\n\nThis vulnerability has been reported on Intigriti by René de Sain @renniepak.","format":"markdown","source":"ghsa"}],"published":"2023-05-09T15:42:16.143Z","modified":"2026-06-17T05:58:00.893Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"}],"cwes":["CWE-79","CWE-116"],"affected":[{"ranges":[{"version":">= 2.2-milestone-1, < 14.4.8","status":"affected"},{"version":">= 14.5, < 14.10.4","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.2-milestone-1","status":"affected","fixed":"14.4.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-distribution-war","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-distribution-war","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"14.5","status":"affected","fixed":"14.10.4"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-distribution-war","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-distribution-war","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.3","fixed":"14.4.8"},{"status":"affected","introduced":"14.5.0","fixed":"14.10.4"},{"status":"affected","version":"2.2"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j9h5-vcgv-2jfm","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/28905f7f518cc6f21ea61fe37e9e1ed97ef36f01","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://app.intigriti.com/company/submissions/e95a7ad5-7029-4627-abf0-3e3e3ea0b4ce/XWIKI-E93DFEYK","tags":["permissions-required","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20340","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32071","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-01-28T16:36:35.459Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-32071","url":"https://www.cve.org/CVERecord?id=CVE-2023-32071","licence":"CVE Terms of Use","modified":"2025-01-28T16:36:40.254Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j9h5-vcgv-2jfm","url":"https://github.com/advisories/GHSA-j9h5-vcgv-2jfm","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:33.194Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-32071","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32071","licence":"Public domain","modified":"2026-06-17T05:58:00.893Z"}],"updatedAt":"2026-11-25T22:58:24.014Z","epss":{"score":0.70386,"percentile":0.99396,"date":"2026-12-01T12:00:22.000Z"}}