{"id":"CVE-2023-50722","aliases":["CVE-2023-50722","GHSA-cp3j-273x-3jxc"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki Platform XSS/CSRF Remote Code Execution in XWiki.ConfigurableClass","summary":"XWiki Platform is a generic wiki platform. Starting in 2.3 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, there is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation. This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1. The patch can be manually applied to the document `XWiki.ConfigurableClass`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform. Starting in 2.3 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, there is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation. This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1. The patch can be manually applied to the document `XWiki.ConfigurableClass`.","source":"cvelist"},{"lang":"en","text":"### Impact\n \nThere is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, in this case it is much more convenient to exploit [GHSA-qj86-p74r-7wp5](https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj86-p74r-7wp5) which is why this attack scenario won't be further considered in the following. In contrast to GHSA-qj86-p74r-7wp5, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. Alternatively, the URL can also be embedded as image source of an image in any content of the wiki like a comment that could be left by an anonymous user. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation.\n\n### Patches\n\nThis has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1\n\n### Workarounds\n\nThe [patch](https://github.com/xwiki/xwiki-platform/commit/5e14c8d08fd0c5b619833d35090b470aa4cb52b0#diff-bf419a99140f3c12fd78ea30f855b63cfb74c1c976ff4436898266d9b37ad3ce) can be manually applied to the document `XWiki.ConfigurableClass`.\n\n### References\n\n* https://github.com/xwiki/xwiki-platform/commit/5e14c8d08fd0c5b619833d35090b470aa4cb52b0\n* https://jira.xwiki.org/browse/XWIKI-21167","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica. A partir de la versión 2.3 y anteriores a las versiones 14.10.15, 15.5.2 y 15.7-rc-1, hay una vulnerabilidad XSS reflejada o también de ejecución remota directa de código en el código para mostrar secciones de administración configurables. El código que se puede pasar a través de un parámetro de URL solo se ejecuta cuando el usuario que visita la URL manipulada tiene derecho de edición en al menos una sección de configuración. Si bien cualquier usuario de la wiki podría crear fácilmente una sección de este tipo, esta vulnerabilidad no requiere que el atacante tenga una cuenta ni acceso a la wiki. Es suficiente engañar a cualquier usuario administrador de la instalación de XWiki para que visite la URL manipulada. Esta vulnerabilidad permite la ejecución remota completa de código con derechos de programación y, por lo tanto, afecta la confidencialidad, integridad y disponibilidad de toda la instalación de XWiki. Esto se solucionó en XWiki 14.10.15, 15.5.2 y 15.7RC1. El parche se puede aplicar manualmente al documento `XWiki.ConfigurableClass`.","source":"nvd"}],"published":"2023-12-15T19:02:52.134Z","modified":"2026-06-17T06:39:51.387Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.7,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.7,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-79","CWE-352"],"affected":[{"ranges":[{"version":">= 2.3, < 14.10.15","status":"affected"},{"version":">= 15.0-rc-1, < 15.5.2","status":"affected"},{"version":">= 15.6-rc-1, < 15.7-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.3","status":"affected","fixed":"14.10.15"}],"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":"15.0-rc-1","status":"affected","fixed":"15.5.2"}],"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":"15.6-rc-1","status":"affected","fixed":"15.7-rc-1"}],"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":"14.10.5"},{"status":"affected","introduced":"15.0","fixed":"15.5.2"},{"status":"affected","version":"15.6"},{"status":"affected","version":"15.6"},{"status":"affected","version":"15.7"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cp3j-273x-3jxc","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/5e14c8d08fd0c5b619833d35090b470aa4cb52b0","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21167","tags":["patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50722","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-50722","url":"https://www.cve.org/CVERecord?id=CVE-2023-50722","licence":"CVE Terms of Use","modified":"2024-08-02T22:16:47.397Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cp3j-273x-3jxc","url":"https://github.com/advisories/GHSA-cp3j-273x-3jxc","licence":"CC-BY-4.0","modified":"2023-12-16T00:56:33.696Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-50722","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50722","licence":"Public domain","modified":"2026-06-17T06:39:51.387Z"}],"updatedAt":"2026-11-25T22:58:31.450Z","epss":{"score":0.00657,"percentile":0.5275,"date":"2026-12-01T12:00:22.000Z"}}