{"id":"CVE-2023-26055","aliases":["GHSA-8cw6-4r32-6r3h"],"url":"https://o3.security/vulnerability/CVE-2023-26055","summary":"XWiki Commons may allow privilege escalation to programming rights via user's first name","details":"### Impact\nAny user can edit his own profile and inject code which is going to be executed with programming right.\n\nSteps to reproduce:\n\n* Set your first name to\n\n```\n    {{cache id=\"userProfile\"}}{{groovy}}println(\"Hello from groovy!\"){{/groovy}}{{/cache}}\n```\n\nThe first name appears as interpreted \"`Hello from groovy`\" instead of the expected fully escaped \"`{{cache id=\"userProfile\"}}{{groovy}}println(\"Hello from groovy!\"){{/groovy}}{{/cache}}`\".\n\nThe same vulnerability can also be exploited in all other places where short text properties are displayed, e.g., in apps created using [Apps Within Minutes](https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20Application) that use a short text field.\n\n### Patches\nThe problem has been patched on versions 13.10.9, 14.4.4, 14.7RC1.\n\n### Workarounds\nThere are no other workarounds than upgrading XWiki or patching the xwiki-commons-xml JAR file.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-19793\n* https://jira.xwiki.org/browse/XWIKI-19794\n* https://jira.xwiki.org/browse/XCOMMONS-2498\n\n### For more information\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)\n","published":"2023-03-02T18:48:16.053Z","modified":"2026-08-12T03:51:26.476941964Z","cvss":{"score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.commons:xwiki-commons-xml","fixedVersion":"13.10.9"},{"ecosystem":"Maven","name":"org.xwiki.commons:xwiki-commons-xml","fixedVersion":"14.4.4"},{"ecosystem":"Maven","name":"org.xwiki.commons:xwiki-commons-xml","fixedVersion":"14.7-rc-1"}],"fix":null,"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XCOMMONS-2498"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19793"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19794"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26055.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-8cw6-4r32-6r3h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26055"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-commons"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:26.476941964Z"}}