{"id":"CVE-2023-35159","summary":"XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in deletespace template","details":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the deletespace template to perform a XSS, e.g. by using URL such as: \u003e xwiki/bin/deletespace/Sandbox/?xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 3.4-milestone-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.","aliases":["GHSA-x234-mg7q-m8g8"],"modified":"2026-08-12T03:51:38.848976382Z","published":"2023-06-23T18:34:17.641Z","database_specific":{"cwe_ids":["CWE-87"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35159.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20583"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20612"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35159.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x234-mg7q-m8g8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35159"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/5c20ff5e3bdea50f1053fe99a27e011b8d0e4b34"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-commons","events":[{"introduced":"b9ee5084c8b7b1c2a3d6be8352544cc0699b8ebd"},{"fixed":"8dfb9fcb4f456c70f82ea670ca0e2f3dee373ee4"},{"introduced":"a188f769b095332e35d518a3312eeb736598feec"},{"last_affected":"fdba4ca1398766e912f7888af5bdefbeef60d8b0"}],"database_specific":{"cpe":["cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","cpe:2.3:a:xwiki:xwiki:3.4:milestone-1:*:*:*:*:*:*","cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.5"},{"fixed":"14.10.5"},{"introduced":"3.4-milestone\\-1"},{"last_affected":"3.4-milestone\\-1"},{"introduced":"15.0"},{"last_affected":"15.0"}],"source":["CPE_RANGE","CPE_STRING"]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"c976070117be44fd3d51affd0d4f9bb20c7ef6e0"},{"fixed":"0cb75bab7ac0c3ecbd0429e88726435b55970c8e"},{"introduced":"1a463781cc1a4632526b7cb95493672720dc3e1a"},{"fixed":"5c20ff5e3bdea50f1053fe99a27e011b8d0e4b34"}],"database_specific":{"cpe":["cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","cpe:2.3:a:xwiki:xwiki:3.4:milestone-1:*:*:*:*:*:*","cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.5"},{"fixed":"14.10.5"},{"introduced":"3.4-milestone\\-1"},{"last_affected":"3.4-milestone\\-1"},{"introduced":"15.0"},{"last_affected":"15.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["15.0","3.4-milestone\\-1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35159.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}