{"id":"CVE-2023-35160","state":"PUBLISHED","title":"XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit template","description":"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.","publishedAt":"2023-06-23T18:48:18.136Z","updatedAt":"2024-11-27T20:07:56.811Z","severity":{"score":9.7,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["xwiki xwiki-platform"],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":">= 2.5-milestone-2, < 14.10.5","status":"affected"},{"version":">= 15.0-rc-1, < 15.1-rc-1","status":"affected"}]}],"references":["https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3","https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f","https://jira.xwiki.org/browse/XWIKI-20343","https://jira.xwiki.org/browse/XWIKI-20583"],"weaknesses":["CWE-87"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/35xxx/CVE-2023-35160.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-35160","state":"PUBLISHED","datePublished":"2023-06-23T18:48:18.136Z","dateUpdated":"2024-11-27T20:07:56.811Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-06-14T14:17:52.178Z"},"containers":{"cna":{"title":"XWiki Platform vulnerable to reflected cross-site scripting via back and xcontinue parameters in resubmit template","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":">= 2.5-milestone-2, < 14.10.5","status":"affected"},{"version":">= 15.0-rc-1, < 15.1-rc-1","status":"affected"}]}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3","name":"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","name":"https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20343","name":"https://jira.xwiki.org/browse/XWIKI-20343","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","name":"https://jira.xwiki.org/browse/XWIKI-20583","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.7,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-87","lang":"en","description":"CWE-87: Improper Neutralization of Alternate XSS Syntax","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-06-23T18:48:18.136Z"},"source":{"advisory":"GHSA-r8xc-xxh3-q5x3","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r8xc-xxh3-q5x3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f","name":"https://github.com/xwiki/xwiki-platform/commit/dbc92dcdace33823ffd1e1591617006cb5fc6a7f","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20343","name":"https://jira.xwiki.org/browse/XWIKI-20343","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","name":"https://jira.xwiki.org/browse/XWIKI-20583","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T16:23:59.673Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-27T20:07:48.107684Z","id":"CVE-2023-35160","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-27T20:07:56.811Z"}}]}}}