Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-security-authorization-bridge
  4. ›
  5. CVE-2025-48063

CVE-2025-48063: XWiki Platform Security Authorization Bridge allows users with just edit right can enforce required rights with programming right

May 21, 2025

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.

References

  • github.com/advisories/GHSA-rhfv-688c-p6hp
  • github.com/xwiki/xwiki-platform
  • github.com/xwiki/xwiki-platform/commit/2557813aef3b863988d6cca58de996e207086898
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-rhfv-688c-p6hp
  • jira.xwiki.org/browse/XWIKI-22859
  • nvd.nist.gov/vuln/detail/CVE-2025-48063

Code Behaviors & Features

Detect and mitigate CVE-2025-48063 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 16.10.0-rc-1 before 16.10.4, all versions starting from 17.0.0-rc-1 before 17.1.0-rc-1

Fixed versions

  • 16.10.4
  • 17.1.0-rc-1

Solution

Upgrade to versions 16.10.4, 17.1.0-rc-1 or above.

Weakness

  • CWE-285: Improper Authorization

Source file

maven/org.xwiki.platform/xwiki-platform-security-authorization-bridge/CVE-2025-48063.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:53 +0000.