{"id":"CVE-2023-35156","state":"PUBLISHED","title":"XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in delete 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 delete template to perform a XSS, e.g. by using URL such as: > xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.0-rc-1. The vulnerability has been patched in XWiki 14.10.6 and 15.1. Note that a partial patch has been provided in 14.10.5 but wasn't enough to entirely fix the vulnerability. \n","publishedAt":"2023-06-23T18:19:56.802Z","updatedAt":"2024-11-27T20:12:17.092Z","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":">= 6.0-rc-1, < 14.10.6","status":"affected"},{"version":">= 15.0-rc-0, < 15.1","status":"affected"}]}],"references":["https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c","https://github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1","https://github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5","https://github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a","https://jira.xwiki.org/browse/XWIKI-20341","https://jira.xwiki.org/browse/XWIKI-20583","https://jira.xwiki.org/browse/XWIKI-20672"],"weaknesses":["CWE-87"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/35xxx/CVE-2023-35156.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-35156","state":"PUBLISHED","datePublished":"2023-06-23T18:19:56.802Z","dateUpdated":"2024-11-27T20:12:17.092Z","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 xredirect parameter in delete 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 delete template to perform a XSS, e.g. by using URL such as: > xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.0-rc-1. The vulnerability has been patched in XWiki 14.10.6 and 15.1. Note that a partial patch has been provided in 14.10.5 but wasn't enough to entirely fix the vulnerability. \n"}],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":">= 6.0-rc-1, < 14.10.6","status":"affected"},{"version":">= 15.0-rc-0, < 15.1","status":"affected"}]}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1","name":"https://github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5","name":"https://github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a","name":"https://github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20341","name":"https://jira.xwiki.org/browse/XWIKI-20341","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","name":"https://jira.xwiki.org/browse/XWIKI-20583","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20672","name":"https://jira.xwiki.org/browse/XWIKI-20672","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:19:56.802Z"},"source":{"advisory":"GHSA-834c-x29c-f42c","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1","name":"https://github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5","name":"https://github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a","name":"https://github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20341","name":"https://jira.xwiki.org/browse/XWIKI-20341","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"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20672","name":"https://jira.xwiki.org/browse/XWIKI-20672","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T16:23:59.439Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-27T20:12:08.365657Z","id":"CVE-2023-35156","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:12:17.092Z"}}]}}}