{"id":"CVE-2023-35155","aliases":["GHSA-fwwj-wg89-7h4c"],"url":"https://o3.security/vulnerability/CVE-2023-35155","summary":"XWiki Platform vulnerable to cross-site scripting in target parameter via share page by email","details":"### 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.","published":"2023-06-23T18:15:05.289Z","modified":"2026-10-28T02:30:42.998322136Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-sharepage-api","fixedVersion":"14.4.8"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-sharepage-api","fixedVersion":"14.10.4"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/ca88ebdefb2c9fa41490959cce9f9e62404799e7","label":"xwiki/xwiki-platform@ca88ebd"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20370"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35155.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fwwj-wg89-7h4c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35155"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/ca88ebdefb2c9fa41490959cce9f9e62404799e7"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:42.998322136Z"}}