{"id":"CVE-2023-35155","aliases":["CVE-2023-35155","GHSA-fwwj-wg89-7h4c"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki Platform vulnerable to cross-site scripting in target parameter via share page by email","summary":"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). For instance, the following URL execute an `alter` on the browser: `<xwiki-host>/xwiki/bin/view/Main/?viewer=share&send=1&target=&target=%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Crenniepak%40intigriti.me%3E&includeDocument=inline&message=I+wanted+to+share+this+page+with+you.`, where `<xwiki-host>` is the URL of your XWiki installation. The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8.","summarySource":"cvelist","descriptions":[{"lang":"en","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). For instance, the following URL execute an `alter` on the browser: `<xwiki-host>/xwiki/bin/view/Main/?viewer=share&send=1&target=&target=%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Crenniepak%40intigriti.me%3E&includeDocument=inline&message=I+wanted+to+share+this+page+with+you.`, where `<xwiki-host>` is the URL of your XWiki installation. The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8.","source":"cvelist"},{"lang":"en","text":"### Impact\nUsers are able to forge an URL with a payload allowing to inject Javascript in the page (XSS).\nFor instance, the following URL execute an `alter` on the browser: `<xwiki-host>/xwiki/bin/view/Main/?viewer=share&send=1&target=&target=%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Crenniepak%40intigriti.me%3E&includeDocument=inline&message=I+wanted+to+share+this+page+with+you.`, where `<xwiki-host>` is the URL of your XWiki installation.\nSee https://jira.xwiki.org/browse/XWIKI-20370 for me details.\n\n### Patches\n\nThe vulnerability has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8.\n\n### Workarounds\nThe fix is only impacting Velocity templates and page contents, so applying this [patch](https://github.com/xwiki/xwiki-platform/commit/ca88ebdefb2c9fa41490959cce9f9e62404799e7) is enough to fix the issue.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-20370\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n*    Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n*    Email us at [Security Mailing List](mailto:security@xwiki.org)\n\n### Attribution\n\nThis vulnerability has been reported on Intigriti by René de Sain @renniepak.","format":"markdown","source":"ghsa"}],"published":"2023-06-20T16:48:36.000Z","modified":"2026-06-17T06:04:30.727Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 2.6-rc-2, < 14.4.8","status":"affected"},{"version":">= 14.5, < 14.10.4","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.6-rc-2","status":"affected","fixed":"14.4.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-sharepage-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-sharepage-api","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"14.5","status":"affected","fixed":"14.10.4"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-sharepage-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-sharepage-api","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"14.4.8"},{"status":"affected","introduced":"14.10","fixed":"14.10.4"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fwwj-wg89-7h4c","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20370","tags":["exploit","issue-tracking","patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35155","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/ca88ebdefb2c9fa41490959cce9f9e62404799e7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-11-27T20:17:50.579Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-35155","url":"https://www.cve.org/CVERecord?id=CVE-2023-35155","licence":"CVE Terms of Use","modified":"2024-11-27T20:17:59.193Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fwwj-wg89-7h4c","url":"https://github.com/advisories/GHSA-fwwj-wg89-7h4c","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:50.437Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-35155","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35155","licence":"Public domain","modified":"2026-06-17T06:04:30.727Z"}],"updatedAt":"2026-11-25T22:58:25.191Z","epss":{"score":0.01496,"percentile":0.74949,"date":"2026-12-01T12:00:22.000Z"}}