{"id":"GHSA-ghcq-472w-vf4h","summary":"Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx","details":"### 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)\n","aliases":["CVE-2022-24821"],"modified":"2023-11-08T04:08:37.693737Z","published":"2022-04-08T21:59:04Z","database_specific":{"github_reviewed_at":"2022-04-08T21:59:04Z","nvd_published_at":"2022-04-08T19:15:00Z","cwe_ids":["CWE-648"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24821"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19155"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-skin-skinx","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-skin-skinx"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.5.0"},{"fixed":"13.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-ghcq-472w-vf4h/GHSA-ghcq-472w-vf4h.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-skin-skinx","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-skin-skinx"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.10.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-ghcq-472w-vf4h/GHSA-ghcq-472w-vf4h.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-skin-skinx","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-skin-skinx"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.0.0"},{"fixed":"13.4.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-ghcq-472w-vf4h/GHSA-ghcq-472w-vf4h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N"}]}