{"id":"GHSA-vwr6-qp4q-2wj7","summary":"XWiki Platform vulnerable to privilege escalation via async macro and IconThemeSheet from the user profile","details":"### Impact\n\nOne can execute any wiki content with the right of IconThemeSheet author by creating an icon theme with the following content:\n\n```\n}}}\n{{async async=\"true\"}}\n{{groovy}}\n  println(\"Hello from Groovy!\")\n{{/groovy}}\n{{/async}}\n{{{\n```\n\nCan be done by creating a new page or even through the user profile for users not having edit right.\n\n### Patches\n\nThis has been patched in XWiki 14.9, 14.4.6, and 13.10.10.\n\n### Workarounds\n\nAn easy workaround is to actually fix the bug in the page `IconThemesCode.IconThemeSheet` by applying the following modification: https://github.com/xwiki/xwiki-platform/commit/48caf7491595238af2b531026a614221d5d61f38#diff-2ec9d716673ee049937219cdb0a92e520f81da14ea84d144504b97ab2bdae243R45\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-19731\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira](http://jira.xwiki.org)\n* Email us at [Security ML](mailto:security@xwiki.org)\n","aliases":["CVE-2023-26472"],"modified":"2026-09-10T03:49:57.234259814Z","published":"2023-03-03T22:48:57Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2023-03-03T22:48:57Z","nvd_published_at":"2023-03-02T19:15:00Z","cwe_ids":["CWE-116"]},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vwr6-qp4q-2wj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26472"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/48caf7491595238af2b531026a614221d5d61f38#diff-2ec9d716673ee049937219cdb0a92e520f81da14ea84d144504b97ab2bdae243R45"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19731"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-icon-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-icon-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2-milestone-1"},{"fixed":"13.10.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-vwr6-qp4q-2wj7/GHSA-vwr6-qp4q-2wj7.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-icon-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-icon-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0"},{"fixed":"14.4.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-vwr6-qp4q-2wj7/GHSA-vwr6-qp4q-2wj7.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-icon-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-icon-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.5"},{"fixed":"14.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-vwr6-qp4q-2wj7/GHSA-vwr6-qp4q-2wj7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}