{"id":"CVE-2023-37914","aliases":["CVE-2023-37914","GHSA-7954-6m9q-gpvf"],"related":[],"kind":"vulnerability","state":"published","title":"Privilege escalation (PR)/RCE from account through Invitation subject/message","summary":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can view `Invitation.WebHome` can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6. Users are advised to upgrade. Users unable to upgrade may manually apply the patch on `Invitation.InvitationCommon` and `Invitation.InvitationConfig`, but there are otherwise 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. Any user who can view `Invitation.WebHome` can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6. Users are advised to upgrade. Users unable to upgrade may manually apply the patch on `Invitation.InvitationCommon` and `Invitation.InvitationConfig`, but there are otherwise no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\nAny user who can view `Invitation.WebHome` can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This can be reproduced with the following steps:\n\n\n1.    Open the invitation application (Invitation.WebHome).\n1.    Set the subject to `{{cache}}{{groovy}}new File(\"/tmp/exploit.txt\").withWriter { out -> out.println(\"Attacked from invitation!\"); }{{/groovy}}{{/cache}}`\n1.    Click \"Preview\"\n\n\n### Patches\nThe vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6.\n\n### Workarounds\nThe vulnerability can be patched manually by applying the [patch](https://github.com/xwiki/xwiki-platform/commit/ff1d8a1790c6ee534c6a4478360a06efeb2d3591) on `Invitation.InvitationCommon` and `Invitation.InvitationConfig`.\n\n### References\n- https://jira.xwiki.org/browse/XWIKI-20421\n- https://github.com/xwiki/xwiki-platform/commit/ff1d8a1790c6ee534c6a4478360a06efeb2d3591\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"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica que ofrece servicios en tiempo de ejecución para aplicaciones construidas sobre ella. Cualquier usuario que pueda ver `Invitation.WebHome` puede ejecutar macros de script arbitrarias incluyendo macros Groovy y Python que permiten la ejecución remota de código incluyendo acceso de lectura y escritura sin restricciones a todos los contenidos del wiki. Esta vulnerabilidad ha sido parcheada en XWiki 14.4.8, 15.2-rc-1, y 14.10.6. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar pueden aplicar manualmente el parche en `Invitation.InvitationCommon` e `Invitation.InvitationConfig`, pero por lo demás no hay soluciones conocidas para esta vulnerabilidad.","source":"nvd"}],"published":"2023-08-17T17:21:23.571Z","modified":"2026-09-10T03:49:57.509Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","score":9.9,"rating":"CRITICAL"},{"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-94","CWE-95"],"affected":[{"ranges":[{"version":">= 2.5-m1, < 14.4.8","status":"affected"},{"version":">= 14.5.0, < 14.10.6","status":"affected"},{"version":">= 15.0, < 15.2-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"2.5m1","fixed":"14.4.8","status":"affected"},{"type":"custom","introduced":"14.5.0","fixed":"14.10.6","status":"affected"},{"type":"custom","introduced":"15.0","fixed":"15.2-tc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","cpe":"cpe:2.3:a:xwiki:xwiki-platform:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.5-m-1","status":"affected","fixed":"14.4.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-invitation-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"14.5","status":"affected","fixed":"14.10.6"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-invitation-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"15.0-rc-1","status":"affected","fixed":"15.2-rc-1"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-invitation-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.5","fixed":"14.4.8"},{"status":"affected","introduced":"14.5.0","fixed":"14.10.6"},{"status":"affected","introduced":"15.0","fixed":"15.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-7954-6m9q-gpvf","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/ff1d8a1790c6ee534c6a4478360a06efeb2d3591","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20421","tags":["exploit","issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37914","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":"2024-10-08T16:19:19.925Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-37914","url":"https://www.cve.org/CVERecord?id=CVE-2023-37914","licence":"CVE Terms of Use","modified":"2024-10-08T16:22:04.023Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7954-6m9q-gpvf","url":"https://github.com/advisories/GHSA-7954-6m9q-gpvf","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:57.509Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-37914","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37914","licence":"Public domain","modified":"2026-06-17T06:08:53.583Z"}],"updatedAt":"2026-11-25T22:58:27.224Z","epss":{"score":0.01864,"percentile":0.79885,"date":"2026-12-01T12:00:22.000Z"}}