{"id":"CVE-2022-24821","aliases":["CVE-2022-24821","GHSA-ghcq-472w-vf4h"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx","summary":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Simple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that are executed everywhere on a wiki. But a bug allow anyone with edit rights to actually create those. This issue has been patched in XWiki 13.10-rc-1, 12.10.11 and 13.4.6. There's no easy workaround for this issue, administrators should upgrade their wiki.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Simple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that are executed everywhere on a wiki. But a bug allow anyone with edit rights to actually create those. This issue has been patched in XWiki 13.10-rc-1, 12.10.11 and 13.4.6. There's no easy workaround for this issue, administrators should upgrade their wiki.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nSimple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that are executed everywhere on a wiki. But a bug allow anyone with edit rights to actually create those. \n\n### Patches\nThis issue has been patched in XWiki 13.10-rc-1, 12.10.11 and 13.4.6. \n\n### Workarounds\nThere's no easy workaround for this issue, administrators should upgrade their wiki.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-19155\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [JIRA](https://jira.xwiki.org)\n* Email us at [XWiki Security ML](mailto:security@xwiki.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"La plataforma XWiki es una plataforma wiki genérica que ofrece servicios de tiempo de ejecución para aplicaciones construidas sobre ella. Los usuarios simples pueden crear SSX/JSX globales sin derechos específicos: en teoría, sólo los usuarios con derechos de programación deberían poder crear SSX o JSX que sean ejecutados en cualquier lugar de un wiki. Pero un error permite que cualquiera con derechos de edición pueda crearlos. Este problema ha sido parcheado en XWiki versiones 13.10-rc-1, 12.10.11 y 13.4.6. No se presenta una mitigación fácil para este problema, los administradores deben actualizar su wiki","source":"nvd"}],"published":"2022-04-08T18:55:10.000Z","modified":"2026-06-17T04:32:35.697Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"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:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-648"],"affected":[{"ranges":[{"version":"> 3.1M1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"13.5.0","status":"affected","fixed":"13.10"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-skin-skinx","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-skin-skinx","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.10.11"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-skin-skinx","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-skin-skinx","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"13.0.0","status":"affected","fixed":"13.4.6"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-skin-skinx","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-skin-skinx","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"12.0.0","fixed":"12.10.11"},{"status":"affected","introduced":"13.4.0","fixed":"13.4.6"},{"status":"affected","version":"13.10"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19155","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24821","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":"partial","date":"2025-04-22T15:48:58.877Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24821","url":"https://www.cve.org/CVERecord?id=CVE-2022-24821","licence":"CVE Terms of Use","modified":"2025-04-22T18:17:02.831Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ghcq-472w-vf4h","url":"https://github.com/advisories/GHSA-ghcq-472w-vf4h","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:37.693Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24821","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24821","licence":"Public domain","modified":"2026-06-17T04:32:35.697Z"}],"updatedAt":"2026-11-25T22:58:10.477Z","epss":{"score":0.00804,"percentile":0.57907,"date":"2026-12-01T12:00:22.000Z"}}