{"id":"CVE-2023-29523","aliases":["GHSA-x764-ff8r-9hpx"],"url":"https://o3.security/vulnerability/CVE-2023-29523","summary":"Code injection in display method used in user profiles in xwiki-platform","details":"### Impact\n\nAny user who can edit their own user profile 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. The following syntax, to be put, e.g., in the about section of the user profile, demonstrates a proof of concept:\n\n```\n{{html wiki=\"true\"}}~{~{~/~h~t~m~l~}~}~ ~{~{~c~a~c~h~e~}~}~{~{~g~r~o~o~v~y~}~}~p~r~i~n~t~l~n~(~1~)~{~{~/~g~r~o~o~v~y~}~}~{~{~/~c~a~c~h~e~}~}~{{/html}}\n```\n\nWhile it would be expected that the above code is displayed just without the `~`, in fact just \"1\" is displayed, followed by a lot of raw HTML code. The same vulnerability can also be exploited in other contexts where the `display` method on a document is used to display a field with wiki syntax, for example in applications created using [App Within Minutes](https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20Application).\n\n### Patches\nThis has been patched in XWiki 13.10.11, 14.4.8, 14.10.2 and 15.0RC1.\n\n### Workarounds\nThere is no workaround apart from upgrading.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-20327\n* https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c\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)\n","published":"2023-04-18T23:09:46.711Z","modified":"2026-08-12T03:51:23.694429245Z","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":2,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","fixedVersion":"13.10.11"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","fixedVersion":"14.4.8"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","fixedVersion":"14.10.2"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c","label":"xwiki/xwiki-platform@0d54718"},"references":[{"type":"WEB","url":"https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20Application"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20327"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29523.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x764-ff8r-9hpx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29523"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/0d547181389f7941e53291af940966413823f61c"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:23.694429245Z"}}