{"id":"CVE-2023-29521","aliases":["GHSA-p67q-h88v-5jgr"],"url":"https://o3.security/vulnerability/CVE-2023-29521","summary":"Code injection from account/view through VFS Tree macro in xwiki-platform","details":"### Impact\nAny user with view rights can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of `Macro.VFSTreeMacro`. This page is not installed by default.\n\nSee https://jira.xwiki.org/browse/XWIKI-20260 for the reproduction steps.\n\n### Patches\nThe vulnerability has been patched in XWiki 15.0-rc-1, 14.10.2, 14.4.8, 13.10.11.\n\n### Workarounds\nThe issue can be fixed by applying this [patch](https://github.com/xwiki/xwiki-platform/commit/fad02328f5ec7ab7fe5b932ffb5bc5c1ba7a5b12) on `Macro.VFSTreeMacro`.\n\n### References\n- https://jira.xwiki.org/browse/XWIKI-20260\n- https://github.com/xwiki/xwiki-platform/commit/fad02328f5ec7ab7fe5b932ffb5bc5c1ba7a5b12\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\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:36:16.529Z","modified":"2026-08-12T03:51:45.509492549Z","cvss":{"score":8.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-vfs-ui","fixedVersion":"13.10.11"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-vfs-ui","fixedVersion":"14.4.8"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-vfs-ui","fixedVersion":"14.10.2"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/fad02328f5ec7ab7fe5b932ffb5bc5c1ba7a5b12","label":"xwiki/xwiki-platform@fad0232"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20260"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29521.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-p67q-h88v-5jgr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29521"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/fad02328f5ec7ab7fe5b932ffb5bc5c1ba7a5b12"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:45.509492549Z"}}