{"id":"CVE-2023-35160","summary":"XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit 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 resubmit template to perform a XSS, e.g. by using URL such as: \u003e xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.","aliases":["GHSA-r8xc-xxh3-q5x3"],"modified":"2026-08-12T03:51:36.750092386Z","published":"2023-06-23T18:48:18.136Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-87"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35160.json"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20343"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20583"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35160.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35160"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-commons","events":[{"introduced":"8493d664223e31da8307d1718775921422af4152"},{"fixed":"8dfb9fcb4f456c70f82ea670ca0e2f3dee373ee4"},{"introduced":"fdba4ca1398766e912f7888af5bdefbeef60d8b0"},{"last_affected":"fdba4ca1398766e912f7888af5bdefbeef60d8b0"}],"database_specific":{"extracted_events":[{"introduced":"3.0"},{"fixed":"14.10.5"},{"introduced":"15.0"},{"last_affected":"15.0"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*"]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"75c1bed0bf998a62cd9464d5070b0984dae1a04a"},{"fixed":"0cb75bab7ac0c3ecbd0429e88726435b55970c8e"},{"introduced":"a0ef31ef9bbe36cab905ab36cc726d81b260f50f"},{"fixed":"dbc92dcdace33823ffd1e1591617006cb5fc6a7f"}],"database_specific":{"cpe":["cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","cpe:2.3:a:xwiki:xwiki:2.5:milestone2:*:*:*:*:*:*","cpe:2.3:a:xwiki:xwiki:15.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.0"},{"fixed":"14.10.5"},{"introduced":"2.5-milestone2"},{"last_affected":"2.5-milestone2"},{"introduced":"15.0"},{"last_affected":"15.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["15.0","2.5-milestone2","xwiki-commons-15.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35160.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"}]}