CVE-2025-23025 — Vulnerability in xwiki-platform-re…wysiwyg-ui
XWiki Realtime WYSIWYG Editor extension allows privilege escalation (PR) through realtime WYSIWYG editing
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.03%). Schedule for your next planned update.
Does your project use an affected org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui version?
Paste your pom.xml to check it for CVE-2025-23025 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Here's an example that works with XWiki 15.10.9+ and 16.2.0+:
- the attacker starts editing a wiki page in realtime (for which they have edit right)
- another user, with script or programming access right joins the editing session (e.g. by clicking on a link / URL provided by the attacker)
- the attacker inserts a script rendering macro, say
{{velocity}}I can run scripts{{/velocity}}, in the edited content, using the WYSIWYG editor UI - the edited content is reloaded for both the attacker and the other user, in order to render the inserted macro
- the attacker gets a rendering error message
- the other user sees "I can run scripts"
The attacker can obviously use more advanced scripts to gain access rights.
Before XWiki 15.10.9 and 16.2.0 the edited content was not re-rendered for all the users in the editing sesesion, but only for the user that inserted the macro. This means that in order to reproduce the problem the other user had to insert or update a macro or save and view the content.
Patches
This vulnerability has been patched in XWiki 15.10.12, 16.4.1 and 16.6.0-rc-1.
Workarounds
To avoid this vulnerability you can:
- either disable the realtime WYSIWYG editing by disabling the
xwiki-realtimeCKEditor plugin from the WYSIWYG editor administration section - or uninstall the Realtime WYSIWYG Editor extension (org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui)
References
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Advisory Timeline
- First published January 14, 2025 (681 days ago).
- Last revised January 14, 2025 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 16.6.0-rc-1 for org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui -->
<!-- Update pom.xml dependency version to 16.4.1 for org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui -->
<!-- Update pom.xml dependency version to 15.10.12 for org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui Maven · Affected: All versions | 16.6.0-rc-1 |
| org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui Maven · Affected: All versions | 16.4.1 |
| org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui Maven · Affected: All versions | 15.10.12 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-862Missing AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rmm7-r7wr-xpfgWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-23025ADVISORY
- https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HAdministrationSectionWEB
- https://extensions.xwiki.org/xwiki/bin/view/Extension/Realtime%20WYSIWYG%20EditorWEB
- https://github.com/xwiki/xwiki-platformPACKAGE
- https://jira.xwiki.org/browse/XWIKI-21949WEB
Frequently Asked Questions
- What is CVE-2025-23025?
- XWiki Realtime WYSIWYG Editor extension allows privilege escalation (PR) through realtime WYSIWYG editing. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
- How do I check if my project is affected by CVE-2025-23025?
- CVE-2025-23025 affects org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-23025 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 62.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2022-36100CRITICAL
XWiki Platform Applications Tag and XWiki Platform Tag UI vulnerable to Eval Injection
- CVE-2023-45137CRITICAL
XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages
- CVE-2023-29514CRITICAL
XWiki vulnerable to Code Injection in template provider administration
- CVE-2023-36470CRITICAL
XWiki Platform vulnerable to Code Injection in icon themes
- CVE-2023-45134CRITICAL
XWiki Platform XSS vulnerability from account in the create page form via template provider
- CVE-2023-29525CRITICAL
XWiki Platform vulnerable to privilege escalation from view right on XWiki.Notifications.Code.LegacyNotificationAdministration
- CVE-2023-29207HIGH
Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro
- CVE-2025-49582HIGH
XWiki's required right warnings for macros are incomplete