{"id":"CVE-2023-35160","published":"2023-06-23T18:48:18Z","modified":"2024-11-27T20:07:56Z","title":"XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit 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 resubmit template to perform a XSS, e.g. by using URL such as: > 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.","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.02268,"percentile":0.83465,"provenance":"source"},"cwes":[{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20343","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","tags":["x_refsource_MISC"]}],"priority":{"score":28.5,"factors":[{"name":"EPSS percentile","points":16.69},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.79}]},"exploitSources":{"nuclei":[{"id":"CVE-2023-35160","name":"XWiki >= 2.5-milestone-2 - Cross-Site Scripting","severity":"medium","path":"http/cves/2023/CVE-2023-35160.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-35160.yaml"}],"provenance":"source"},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 2.5-milestone-2, < 14.10.5",">= 15.0-rc-1, < 15.1-rc-1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-27T20:07:48.107684Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-templates","vulnerableRanges":[">=2.5-milestone-2, <14.10.5",">=15.0-rc-1, <15.1-rc-1"],"patched":["14.10.5","15.1-rc-1"],"from":["GHSA-r8xc-xxh3-q5x3"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw in the XWiki Platform (xwiki-platform) resubmit template lets attacker-supplied values in the back and xcontinue parameters be rendered as executable script in the page. An attacker can exploit this by crafting a URL that carries a javascript: payload, which requires a victim with network access to the wiki to click the link (user interaction), with no authentication needed and no non-default configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:02Z"},"euvd":{"id":"EUVD-2023-1876","exploited":false,"provenance":"source"}}