CVE-2025-48063: Xwiki platform security authorization bridge Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-rhfv-688c-p6hp
CWE-285
Published
Advisory Summary

CVE-2025-48063 is a MODERATE remote code execution vulnerability (CWE-285: Improper Authorization) affecting Xwiki platform security authorization bridge libraries in the Maven ecosystem. The issue involves xwiki platform security authorization bridge allows users with just edit right can enforce required rights with programming right. Remediation is available by upgrading affected packages to version 16.10.4, 17.1.0-rc-1.

CVE-2025-48063 at a Glance

CVE Identifier CVE-2025-48063
GHSA Identifier GHSA-rhfv-688c-p6hp
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-285: Improper Authorization
Affected Product Xwiki platform security authorization bridge
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-48063

To remediate this vulnerability, upgrade all affected Xwiki platform security authorization bridge 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-security-authorization-bridge fixed: 16.10.4
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-security-authorization-bridge</artifactId>
    <version>16.10.4</version>
</dependency>
org.xwiki.platform:xwiki-platform-security-authorization-bridge fixed: 17.1.0-rc-1
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-security-authorization-bridge</artifactId>
    <version>17.1.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-48063, 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 security authorization bridge in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.10.4), 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Xwiki platform security authorization bridge, 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 In XWiki 16.10.0, required rights were introduced as a way to limit which rights a document can have. Part of the security model of required rights is that a user who doesn't have a right also cannot define that right as required right. That way, users who are editing documents on which required rights are enforced can be sure that they're not giving a right to a script or object that it didn't have before. A bug in the implementation of the enforcement of this rule means that in fact, it was possible for any user with edit right on a document to set programming right as required right. If then a user with programming right edited that document, the content of that document would gain programming right, allowing remote code execution. This thereby defeats most of the security benefits of required rights. As XWiki still performs the required rights analysis when a user edits a page even when required rights are enforced, the user with programming right would still be warned about the dangerous content unless the attacker managed to bypass this check (see, e.g., https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcj). Note also that none of the affected versions include a UI for enabling the enforcing of required rights so it seems unlikely that anybody relied on them for security in the affected versions. As this vulnerability provides no additional attack surface unless all documents in the wiki enforce required rights, we consider the impact of this attack to be low even though gaining programming right could have a high impact. ### Patches This vulnerability has been patched in XWiki 16.10.4 and 17.1.0RC1. ### Workarounds We're not aware of any workarounds except for upgrading.

CVE-2025-48063 Affected Xwiki platform security authorization bridge Versions

2 component(s)
Fixed Versions:
16.10.417.1.0-rc-1
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-security-authorization-bridge
Maven
≥ 16.10.0-rc-1
< 16.10.4
16.10.4
org.xwiki.platform:xwiki-platform-security-authorization-bridge
Maven
≥ 17.0.0-rc-1
< 17.1.0-rc-1
17.1.0-rc-1

References

Frequently Asked Questions

What is CVE-2025-48063?
CVE-2025-48063 is a security vulnerability in Xwiki platform security authorization bridge involving XWiki Platform Security Authorization Bridge allows users with just edit right can enforce required rights with programming right under CWE-285: Improper Authorization.
Which Xwiki platform security authorization bridge versions are affected?
Affected versions include releases prior to 16.10.4, 17.1.0-rc-1 across affected packages: org.xwiki.platform:xwiki-platform-security-authorization-bridge.
What version fixes CVE-2025-48063?
Upgrading to 16.10.4, 17.1.0-rc-1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-security-authorization-bridge affected?
Yes, org.xwiki.platform:xwiki-platform-security-authorization-bridge is affected in releases prior to 16.10.4, 17.1.0-rc-1. Upgrade your dependency to 16.10.4, 17.1.0-rc-1 or later.
What CWE is associated with CVE-2025-48063?
CVE-2025-48063 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2025-48063?
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-rhfv-688c-p6hp",
  "modified" : "2025-05-21T19:41:18Z",
  "published" : "2025-05-21T18:26:21Z",
  "aliases" : [ "CVE-2025-48063" ],
  "summary" : "XWiki Platform Security Authorization Bridge allows users with just edit right can enforce required rights with programming right",
  "details" : "### Impact\nIn XWiki 16.10.0, required rights were introduced as a way to limit which rights a document can have. Part of the security model of required rights is that a user who doesn't have a right also cannot define that right as required right. That way, users who are editing documents on which required rights are enforced can be sure that they're not giving a right to a script or object that it didn't have before. A bug in the implementation of the enforcement of this rule means that in fact, it was possible for any user with edit right on a document to set programming right as required right. If then a user with programming right edited that document, the content of that document would gain programming right, allowing remote code execution. This thereby defeats most of the security benefits of required rights. As XWiki still performs the required rights analysis when a user edits a page even when required rights are enforced, the user with programming right would still be warned about the dangerous content unless the attacker managed to bypass this check (see, e.g., https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcj). Note also that none of the affected versions include a UI for enabling the enforcing of required rights so it seems unlikely that anybody relied on them for security in the affected versions. As this vulnerability provides no additional attack surface unless all documents in the wiki enforce required rights, we consider the impact of this attack to be low even though gaining programming right could have a high impact.\n\n### Patches\nThis vulnerability has been patched in XWiki 16.10.4 and 17.1.0RC1.\n\n### Workarounds\nWe're not aware of any workarounds except for upgrading.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-security-authorization-bridge"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.10.0-rc-1"
      }, {
        "fixed" : "16.10.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-security-authorization-bridge"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "17.0.0-rc-1"
      }, {
        "fixed" : "17.1.0-rc-1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rhfv-688c-p6hp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48063"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/commit/2557813aef3b863988d6cca58de996e207086898"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki/xwiki-platform"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/XWIKI-22859"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-21T18:26:21Z",
    "nvd_published_at" : "2025-05-21T18:15:53Z"
  }
}