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

Published Jan 14, 2025
·
Updated

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-realtime CKEditor plugin from the WYSIWYG editor administration section or uninstall the Realtime WYSIWYG Editor extension (org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui)

References

https://jira.xwiki.org/browse/XWIKI-21949

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

Other sources

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

MITRE

Affected Software

7 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui>=16.5.0-rc-1<16.6.0-rc-1
16.6.0-rc-1
maven/org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui>=16.0.0-rc-1<16.4.1
16.4.1
maven/org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui>=13.9-rc-1<15.10.12
15.10.12
XWiki xwiki>=13.9<15.10.12
XWiki xwiki>=16.0.0<16.4.1
XWiki xwiki=16.5.0
XWiki xwiki=16.5.0-rc1

Event History

Jan 14, 2025
Advisory Published
via GitHub·04:00 PM
CVE Published
via MITRE·05:42 PM
Data Sourced
via MITRE·05:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-23025?

CVE-2025-23025 is classified as a high severity vulnerability due to its potential impact on the affected systems.

2

How do I fix CVE-2025-23025?

To remediate CVE-2025-23025, update the Realtime WYSIWYG Editor extension to version 16.6.0-rc-1, 16.4.1, or 15.10.12 based on your current version.

3

Which versions are affected by CVE-2025-23025?

Versions of the Realtime WYSIWYG Editor prior to 16.6.0-rc-1, 16.4.1, and 15.10.12 are affected by CVE-2025-23025.

4

Is the Realtime WYSIWYG Editor safe to use after CVE-2025-23025?

The Realtime WYSIWYG Editor extension is experimental and is not recommended for production use even after updating due to its vulnerabilities.

5

What functionalities does the vulnerable Realtime WYSIWYG Editor offer?

The vulnerable Realtime WYSIWYG Editor extension is designed to provide real-time collaborative editing capabilities within XWiki but is associated with security risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203