{"id":"CVE-2023-29519","aliases":["CVE-2023-29519","GHSA-3hjg-cghv-22ww"],"related":[],"kind":"vulnerability","state":"published","title":"Code injection in org.xwiki.platform:xwiki-platform-attachment-ui","summary":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A registered user can perform remote code execution leading to privilege escalation by injecting the proper code in the \"property\" field of an attachment selector, as a gadget of their own dashboard.  Note that the vulnerability does not impact comments of a wiki. The vulnerability has been patched in XWiki 13.10.11, 14.4.8, 14.10.2, 15.0-rc-1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A registered user can perform remote code execution leading to privilege escalation by injecting the proper code in the \"property\" field of an attachment selector, as a gadget of their own dashboard.  Note that the vulnerability does not impact comments of a wiki. The vulnerability has been patched in XWiki 13.10.11, 14.4.8, 14.10.2, 15.0-rc-1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\nA registered user can perform remote code execution leading to privilege escalation by injecting the proper code in the \"property\" field of an attachment selector, as a gadget of their own dashboard. Note that the vulnerability does not impact comments of a wiki.\n\n### Patches\nThe vulnerability has been patched in XWiki 13.10.11, 14.4.8, 14.10.2, 15.0-rc-1.\n\n### Workarounds\nThe problem can be worked around by applying following changes directly in XWiki.AttachmentSelector page: https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-20364\n* https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1\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)","format":"markdown","source":"ghsa"}],"published":"2023-04-18T23:31:09.369Z","modified":"2026-09-10T03:49:53.364Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"< 13.10.11","status":"affected"},{"version":">= 14.0.0, < 14.4.8","status":"affected"},{"version":">= 14.5.0, < 14.10.2","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0-rc-1","status":"affected","fixed":"13.10.11"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-attachment-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"14.0-rc-1","status":"affected","fixed":"14.4.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-attachment-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"14.5","status":"affected","fixed":"14.10.2"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-attachment-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"13.10.11"},{"status":"affected","introduced":"14.0","fixed":"14.4.8"},{"status":"affected","introduced":"14.5","fixed":"14.10.2"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-3hjg-cghv-22ww","tags":["exploit","patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20364","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-29519","tags":["advisory"],"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":"total","date":"2025-02-05T18:45:55.837Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-29519","url":"https://www.cve.org/CVERecord?id=CVE-2023-29519","licence":"CVE Terms of Use","modified":"2025-02-05T18:46:04.993Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3hjg-cghv-22ww","url":"https://github.com/advisories/GHSA-3hjg-cghv-22ww","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:53.364Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-29519","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29519","licence":"Public domain","modified":"2026-06-17T05:50:23.920Z"}],"updatedAt":"2026-11-25T22:58:23.630Z","epss":{"score":0.01945,"percentile":0.80789,"date":"2026-12-01T12:00:22.000Z"}}