{"id":"CVE-2022-24821","state":"PUBLISHED","title":"Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx","description":"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.","publishedAt":"2022-04-08T18:55:10.000Z","updatedAt":"2025-04-22T18:17:02.831Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["xwiki xwiki-platform"],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":"> 3.1M1","status":"affected"}]}],"references":["https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h","https://jira.xwiki.org/browse/XWIKI-19155"],"weaknesses":["CWE-648"],"ingestedAt":"2026-10-29T19:49:43.915Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/24xxx/CVE-2022-24821.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-24821","state":"PUBLISHED","datePublished":"2022-04-08T18:55:10.000Z","dateUpdated":"2025-04-22T18:17:02.831Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-02-10T00:00:00.000Z"},"containers":{"cna":{"title":"Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":"> 3.1M1","status":"affected"}]}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h","tags":["x_refsource_CONFIRM"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19155","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-648","description":"CWE-648: Incorrect Use of Privileged APIs","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-04-08T18:55:09.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-ghcq-472w-vf4h","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-24821","STATE":"PUBLIC","TITLE":"Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"xwiki-platform","version":{"version_data":[{"version_value":"> 3.1M1"}]}}]},"vendor_name":"xwiki"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-648: Incorrect Use of Privileged APIs"}]}]},"references":{"reference_data":[{"name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h","refsource":"CONFIRM","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h"},{"name":"https://jira.xwiki.org/browse/XWIKI-19155","refsource":"MISC","url":"https://jira.xwiki.org/browse/XWIKI-19155"}]},"source":{"advisory":"GHSA-ghcq-472w-vf4h","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19155","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:20:50.511Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:48:58.877982Z","id":"CVE-2022-24821","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-22T18:17:02.831Z"}}]}}}