{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-35156","id":"CVE-2023-35156","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). ","descriptionLong":"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","published":"2023-06-23T18:19:56.802Z","updated":"2026-11-18T23:00:45.419642851Z","reserved":"2023-06-14T14:17:52.178Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["xwiki-platform"],"affectedProducts":[{"vendor":"xwiki","product":"xwiki-platform","defaultStatus":null,"versions":[{"version":">= 6.0-rc-1, < 14.10.6","status":"affected"},{"version":">= 15.0-rc-0, < 15.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-flamingo-skin-resources","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources","ranges":[">=6.0-rc-1 <14.10.6",">=15.0-rc-0 <15.1"],"fixed":["14.10.6","15.1"],"advisory":"GHSA-834c-x29c-f42c"}],"cwes":["CWE-87","CWE-79"],"aliases":["GHSA-834c-x29c-f42c"],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-834c-x29c-f42c","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/13875a6437d4525ac4aeea25918f2d2dffac9ee1","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/24ec12890ac7fa6daec8d0b3435cfcba11362fd5","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/e80d22d193df364b07bab7925572720f91a8984a","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20341","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory","web"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20583","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory","web"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20672","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35156.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35156","tags":["advisory"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.02081,"epssPercentile":0.81939,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-35156","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35156","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-35156","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-834c-x29c-f42c","ok":true,"note":"GHSA-834c-x29c-f42c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-35156","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}