{"id":"CVE-2023-32071","summary":"XWiki Platform vulnerable to RXSS via editor parameter - importinline template","details":"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 `\u003cxwiki app\u003e/templates/importinline.vm` and apply the modification described in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01.","aliases":["GHSA-j9h5-vcgv-2jfm"],"modified":"2026-08-12T03:51:30.327680524Z","published":"2023-05-09T15:42:16.143Z","database_specific":{"cwe_ids":["CWE-116","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32071.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://app.intigriti.com/company/submissions/e95a7ad5-7029-4627-abf0-3e3e3ea0b4ce/XWIKI-E93DFEYK"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20340"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32071.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j9h5-vcgv-2jfm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32071"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/28905f7f518cc6f21ea61fe37e9e1ed97ef36f01"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-commons","events":[{"introduced":"0"},{"fixed":"48ee3193230753aecf8a86d7c8ff3e8f869e8330"},{"fixed":"dfd0eff6a9f28f5a8840a5e4a51f0a24524c0280"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.3"},{"fixed":"14.4.8"},{"introduced":"14.5.0"},{"fixed":"14.10.4"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"f6c429ae9f8bd206a2391f4681d3f7c20ccdc3e4"},{"fixed":"b469b950e7fe3d22f00b639d43f286bf871472b1"},{"introduced":"ab4dfeaeef13360eebcaa507bc652073aa89a427"},{"fixed":"c127075e7814ef7cd164bb6493d67b1943b6db1e"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.2-milestone-1"},{"fixed":"14.4.8"},{"introduced":"14.5"},{"fixed":"14.10.4"}]}}],"versions":["2.2-milestone1","xwiki-commons-14.10.3","xwiki-commons-14.10.2","xwiki-commons-14.10.1","xwiki-commons-14.10","xwiki-commons-14.4.7","xwiki-commons-14.4.6","xwiki-commons-14.4.5","xwiki-commons-14.4.4","xwiki-commons-14.4.3","xwiki-commons-14.4.2","xwiki-commons-14.4.1","xwiki-commons-14.4","xwiki-commons-14.4-rc-1","xwiki-commons-8.3-milestone-2","xwiki-commons-8.3-milestone-1","xwiki-commons-8.2-milestone-2","xwiki-commons-8.2-milestone-1","xwiki-commons-8.1-milestone-2","xwiki-commons-8.1-milestone-1","xwiki-commons-8.0-milestone-2","xwiki-commons-8.0-milestone-1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-32071.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"}]}