{"id":"CVE-2023-35159","published":"2023-06-23T18:34:17Z","modified":"2024-11-27T20:08:52Z","title":"XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in deletespace 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 deletespace template to perform a XSS, e.g. by using URL such as: > 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.","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.02182,"percentile":0.8281,"provenance":"source"},"cwes":[{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x234-mg7q-m8g8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/5c20ff5e3bdea50f1053fe99a27e011b8d0e4b34","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20612","tags":["x_refsource_MISC"]}],"priority":{"score":28.4,"factors":[{"name":"EPSS percentile","points":16.56},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.79}]},"exploitSources":{"nuclei":[{"id":"CVE-2023-35159","name":"XWiki >= 3.4-milestone-1 - Cross-Site Scripting","severity":"medium","path":"http/cves/2023/CVE-2023-35159.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-35159.yaml"}],"provenance":"source"},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 3.4-milestone-1, < 14.10.5",">= 15.0-rc-1, < 15.1-rc-1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-27T20:08:32.708079Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-templates","vulnerableRanges":[">=3.4-milestone-1, <14.10.5",">=15.0-rc-1, <15.1-rc-1"],"patched":["14.10.5","15.1-rc-1"],"from":["GHSA-x234-mg7q-m8g8"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw in the xredirect parameter of the deletespace template in XWiki Platform (xwiki-platform) allows JavaScript to be injected into the page. An attacker can exploit it by crafting a URL that is delivered to a user, who must visit it, so no authentication is required but user interaction is.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:38Z"},"euvd":{"id":"EUVD-2023-1908","exploited":false,"provenance":"source"}}