{"id":"CVE-2023-35157","aliases":["GHSA-phwm-87rg-27qq"],"url":"https://o3.security/vulnerability/CVE-2023-35157","summary":"XWiki Platform vulnerable to reflected cross-site scripting via delattachment action","details":"### Impact\nIt's possible to perform an XSS by forging a request to a delete attachment action with a specific attachment name. \nNow this XSS can be exploited only if the attacker knows the CSRF token of the user, or if the user ignores the warning about the missing CSRF token. \n\n### Patches\n\nThe vulnerability has been patched in XWiki 15.1-rc-1 and XWiki 14.10.6.\n\n\n### Workarounds\n\nThere's no workaround for this other than upgrading XWiki. \n\n### References\n\n  * Jira ticket: https://jira.xwiki.org/browse/XWIKI-20339\n  * Commit containing the fix: https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","published":"2023-06-23T18:22:54.954Z","modified":"2026-08-12T14:51:06.044522Z","cvss":{"score":8.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","fixedVersion":"14.10.6"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","fixedVersion":"15.1-rc-1"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf","label":"xwiki/xwiki-platform@35e9073"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20339"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35157.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-phwm-87rg-27qq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35157"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T14:51:06.044522Z"}}