{"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-04-02T09:06:34.096738Z","published":"2023-06-23T18:48:18.136Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35160.json","cwe_ids":["CWE-87"],"cna_assigner":"GitHub_M"},"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-platform","events":[{"introduced":"a0ef31ef9bbe36cab905ab36cc726d81b260f50f"},{"fixed":"0cb75bab7ac0c3ecbd0429e88726435b55970c8e"}],"database_specific":{"versions":[{"introduced":"2.5-milestone-2"},{"fixed":"14.10.5"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"d823334f762d5ad86bea378b65af0b230668d401"},{"fixed":"216402d67310861edc37d1b31e587781b9d6b0aa"}],"database_specific":{"versions":[{"introduced":"15.0-rc-1"},{"fixed":"15.1-rc-1"}]}}],"versions":["xwiki-platform-15.0","xwiki-platform-15.0-rc-1","xwiki-web-2.5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35160.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}