Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-realtime-wysiwyg-ui

PACKAGE
Advisory Identifier: GHSA-rmm7-r7wr-xpfg
Advisory Summary

CVE-2025-23025 is a CRITICAL (CVSS 9.0) xwiki realtime wysiwyg editor extension vulnerability (CWE-862: Missing Authorization) affecting Xwiki platform realtime wysiwyg ui libraries in the Maven ecosystem. The issue involves xwiki realtime wysiwyg editor extension allows privilege escalation (pr) through realtime wysiwyg editing. Remediation is available by upgrading affected packages to version 15.10.12, 16.4.1, 16.6.0-rc-1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.platform/xwiki-platform-realtime-wysiwyg-ui

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-realtime-wysiwyg-ui. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-rmm7-r7wr-xpfg CVE-2025-23025 CRITICAL XWiki Realtime WYSIWYG Editor extension allows privilege escalation (PR) through realtime WYSIWYG editing

CVE-2025-23025 at a Glance

CVE Identifier CVE-2025-23025
GHSA Identifier GHSA-rmm7-r7wr-xpfg
Severity CRITICAL
CVSS v3.1 Base Score 9.0
CWE Classification CWE-862: Missing Authorization
Affected Product Xwiki platform realtime wysiwyg ui
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-23025

To remediate this vulnerability, upgrade all affected Xwiki platform realtime wysiwyg ui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui fixed: 15.10.12
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-realtime-wysiwyg-ui</artifactId>
    <version>15.10.12</version>
</dependency>
org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui fixed: 16.4.1
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-realtime-wysiwyg-ui</artifactId>
    <version>16.4.1</version>
</dependency>
org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui fixed: 16.6.0-rc-1
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-realtime-wysiwyg-ui</artifactId>
    <version>16.6.0-rc-1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.xwiki.platform

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-23025, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.xwiki.platform

Analyze the terminal output to locate any version of Xwiki platform realtime wysiwyg ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.10.12), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Xwiki platform realtime wysiwyg ui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact NOTE: The [Realtime WYSIWYG Editor](https://extensions.xwiki.org/xwiki/bin/view/Extension/Realtime%20WYSIWYG%20Editor/) 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](https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HAdministrationSection) * or uninstall the [Realtime WYSIWYG Editor](https://extensions.xwiki.org/xwiki/bin/view/Extension/Realtime%20WYSIWYG%20Editor/) 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](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

CVE-2025-23025 Affected Xwiki platform realtime wysiwyg ui Versions

3 component(s)
Fixed Versions:
15.10.1216.4.116.6.0-rc-1
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui
Maven
≥ 13.9-rc-1
< 15.10.12
15.10.12
org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui
Maven
≥ 16.0.0-rc-1
< 16.4.1
16.4.1
org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui
Maven
≥ 16.5.0-rc-1
< 16.6.0-rc-1
16.6.0-rc-1

References

Frequently Asked Questions

What is CVE-2025-23025?
CVE-2025-23025 is a security vulnerability in Xwiki platform realtime wysiwyg ui involving XWiki Realtime WYSIWYG Editor extension allows privilege escalation (PR) through realtime WYSIWYG editing under CWE-862: Missing Authorization.
Which Xwiki platform realtime wysiwyg ui versions are affected?
Affected versions include releases prior to 15.10.12, 16.4.1, 16.6.0-rc-1 across affected packages: org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui.
What version fixes CVE-2025-23025?
Upgrading to 15.10.12, 16.4.1, 16.6.0-rc-1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-realtime-wysiwyg-ui affected?
Yes, org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui is affected in releases prior to 15.10.12, 16.4.1, 16.6.0-rc-1. Upgrade your dependency to 15.10.12, 16.4.1, 16.6.0-rc-1 or later.
What is the CVSS score of CVE-2025-23025?
CVE-2025-23025 has a CVSS v3.1 base score of 9.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-23025?
CVE-2025-23025 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2025-23025?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rmm7-r7wr-xpfg",
  "modified" : "2025-01-14T21:20:22Z",
  "published" : "2025-01-14T16:00:36Z",
  "aliases" : [ "CVE-2025-23025" ],
  "summary" : "XWiki Realtime WYSIWYG Editor extension allows privilege escalation (PR) through realtime WYSIWYG editing",
  "details" : "### Impact\n\nNOTE: The [Realtime WYSIWYG Editor](https://extensions.xwiki.org/xwiki/bin/view/Extension/Realtime%20WYSIWYG%20Editor/) 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.\n\nA 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.\n\nHere's an example that works with XWiki 15.10.9+ and 16.2.0+:\n\n* the attacker starts editing a wiki page in realtime (for which they have edit right)\n* another user, with script or programming access right joins the editing session (e.g. by clicking on a link / URL provided by the attacker)\n* the attacker inserts a script rendering macro, say ``{{velocity}}I can run scripts{{/velocity}}``, in the edited content, using the WYSIWYG editor UI\n* the edited content is reloaded for both the attacker and the other user, in order to render the inserted macro\n  * the attacker gets a rendering error message\n  * the other user sees \"I can run scripts\"\n\nThe attacker can obviously use more advanced scripts to gain access rights.\n\nBefore 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.\n\n### Patches\n\nThis vulnerability has been patched in XWiki 15.10.12, 16.4.1 and 16.6.0-rc-1.\n\n### Workarounds\n\nTo avoid this vulnerability you can:\n\n* either disable the realtime WYSIWYG editing by disabling the ``xwiki-realtime`` CKEditor plugin from [the WYSIWYG editor administration section](https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HAdministrationSection)\n* or uninstall the [Realtime WYSIWYG Editor](https://extensions.xwiki.org/xwiki/bin/view/Extension/Realtime%20WYSIWYG%20Editor/) extension (org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui)\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-21949\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.9-rc-1"
      }, {
        "fixed" : "15.10.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0-rc-1"
      }, {
        "fixed" : "16.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-realtime-wysiwyg-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.5.0-rc-1"
      }, {
        "fixed" : "16.6.0-rc-1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rmm7-r7wr-xpfg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-23025"
  }, {
    "type" : "WEB",
    "url" : "https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HAdministrationSection"
  }, {
    "type" : "WEB",
    "url" : "https://extensions.xwiki.org/xwiki/bin/view/Extension/Realtime%20WYSIWYG%20Editor"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki/xwiki-platform"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/XWIKI-21949"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-14T16:00:36Z",
    "nvd_published_at" : "2025-01-14T18:16:05Z"
  }
}