{"id":"CVE-2023-35162","published":"2023-06-23T18:52:19Z","modified":"2024-11-29T14:25:46Z","title":"XPlatform Wiki vulnerable to cross-site scripting via xcontinue parameter in preview actions template","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"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: > <hostname>/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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.7,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02377,"percentile":0.83808,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20342","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","tags":["x_refsource_MISC"]}],"priority":{"score":28.6,"factors":[{"name":"EPSS percentile","points":16.76},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.79}]},"exploitSources":{"nuclei":[{"id":"CVE-2023-35162","name":"XWiki < 14.10.5 - Cross-Site Scripting","severity":"medium","path":"http/cves/2023/CVE-2023-35162.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-35162.yaml"}],"provenance":"source"},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 6.1-rc-1, < 14.10.5",">= 15.0-rc-1, < 15.1-rc-1"]}],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-flamingo-skin-resources","vulnerableRanges":[">=6.1-rc-1, <14.10.5",">=15.0-rc-1, <15.1-rc-1"],"patched":["14.10.5","15.1-rc-1"],"from":["GHSA-q9hg-9qj2-mxf9"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-1865","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-29207","published":"2023-04-15","fixed":"14.9","kev":false,"link":{"from":"CVE-2023-29207","to":"CVE-2023-35162","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-flamingo-skin-resources","fromFixed":"14.9","toFixed":"14.10.5","daysApart":69}]}},{"cve":"CVE-2023-35158","published":"2023-06-23","fixed":"15.1-rc-1","kev":false},{"cve":"CVE-2023-35162","published":"2023-06-23","fixed":"15.1-rc-1","kev":false},{"cve":"CVE-2023-35156","published":"2023-06-23","fixed":"15.1","kev":false},{"cve":"CVE-2023-46732","published":"2023-11-06","fixed":"15.5.1","kev":false},{"cve":"CVE-2025-66472","published":"2025-12-10","fixed":"17.4.2","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-flamingo-skin-resources"}}