{"id":"CVE-2023-35162","summary":"XPlatform Wiki vulnerable to cross-site scripting via xcontinue parameter in preview actions 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 previewactions template to perform a XSS, e.g. by using URL such as: \u003e \u003chostname\u003e/xwiki/bin/get/FlamingoThemes/Cerulean xpage=xpart&vm=previewactions.vm&xcontinue=javascript:alert(document.domain). This vulnerability exists since XWiki 6.1-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.","aliases":["GHSA-q9hg-9qj2-mxf9"],"modified":"2026-04-10T04:59:48.609779Z","published":"2023-06-23T18:52:19.725Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35162.json"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20342"},{"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-35162.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35162"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"fa57be03c365d25952ee4a374828a9aa3e2f7056"},{"fixed":"0cb75bab7ac0c3ecbd0429e88726435b55970c8e"}],"database_specific":{"versions":[{"introduced":"6.1-rc-1"},{"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"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35162.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"}]}