{"id":"CVE-2024-55879","aliases":["CVE-2024-55879","GHSA-r279-47wg-chpr"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki allows RCE from script right in configurable sections","summary":"XWiki Platform is a generic wiki platform. Starting in version 2.3 and prior to versions 15.10.9, 16.3.0, any user with script rights can perform arbitrary remote code execution by adding instances of `XWiki.ConfigurableClass` to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 15.10.9 and 16.3.0. No known workarounds are available except upgrading.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform. Starting in version 2.3 and prior to versions 15.10.9, 16.3.0, any user with script rights can perform arbitrary remote code execution by adding instances of `XWiki.ConfigurableClass` to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 15.10.9 and 16.3.0. No known workarounds are available except upgrading.","source":"cvelist"},{"lang":"en","text":"### Impact\nAny user with script rights can perform arbitrary remote code execution by adding instances of `XWiki.ConfigurableClass` to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation.\n\nTo reproduce on a instance, as a user with script rights, edit your user profile and add an object of type `XWiki.ConfigurableClass` (\"Custom configurable sections\").\nSet \"Display in section\" and \"Display in category\" to `other`, \"Scope\" to `Wiki and all spaces` and \"Heading\" to:\n```\n#set($codeToExecute = 'Test') #set($codeToExecuteResult = '{{async}}{{groovy}}services.logging.getLogger(\"attacker\").error(\"Attack from Heading succeeded!\"){{/groovy}}{{/async}}')\n```\nSave the page and view it, then add `?sheet=XWiki.AdminSheet&viewer=content&section=other` to the URL.\nIf the logs contain \"attacker - Attack from Heading succeeded!\", then the instance is vulnerable.\n\n### Patches\nThis has been patched in XWiki 15.10.9 and 16.3.0.\n\n### Workarounds\nWe're not aware of any workaround except upgrading.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-21207\n* https://github.com/xwiki/xwiki-platform/commit/8493435ff9606905a2d913607d6c79862d0c168d\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. A partir de la versión 2.3 y antes de las versiones 15.10.9 y 16.3.0, cualquier usuario con derechos de script puede ejecutar código remoto arbitrario añadiendo instancias de `XWiki.ConfigurableClass` a cualquier página. Esto compromete la confidencialidad, integridad y disponibilidad de toda la instalación de XWiki. Esto se ha corregido en XWiki 15.10.9 y 16.3.0. No hay workarounds disponibles excepto la actualización.","source":"nvd"}],"published":"2024-12-12T19:17:38.138Z","modified":"2026-06-17T08:11:23.993Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"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-862"],"affected":[{"ranges":[{"version":">= 2.3, < 15.10.9","status":"affected"},{"version":">= 16.0.0-rc-1, < 16.3.0","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.3","status":"affected","fixed":"15.10.9"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"16.0.0-rc-1","status":"affected","fixed":"16.3.0"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-administration-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.3","fixed":"15.10.9"},{"status":"affected","introduced":"16.0.0","fixed":"16.3.0"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r279-47wg-chpr","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/8493435ff9606905a2d913607d6c79862d0c168d","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21207","tags":["exploit","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wh34-m772-5398","tags":["exploit","not-applicable"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55879","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-12-13T14:50:04.671Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-55879","url":"https://www.cve.org/CVERecord?id=CVE-2024-55879","licence":"CVE Terms of Use","modified":"2024-12-13T14:54:21.161Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r279-47wg-chpr","url":"https://github.com/advisories/GHSA-r279-47wg-chpr","licence":"CC-BY-4.0","modified":"2026-02-04T04:27:19.349Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-55879","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55879","licence":"Public domain","modified":"2026-06-17T08:11:23.993Z"}],"updatedAt":"2026-11-25T22:58:50.070Z","epss":{"score":0.01066,"percentile":0.65689,"date":"2026-12-01T12:00:22.000Z"}}