Security mailing lists by PureSourceCode

CVE-2025-48063

MEDIUM 4.8CVSS 4.0

XWiki Platform Security Authorization Bridge allows users with just edit right can enforce required rights with programming right

XWiki is a generic wiki platform. 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. 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. This vulnerability has been patched in XWiki 16.10.4 and 17.1.0RC1. No known workarounds are available except for upgrading.

Published
21 May 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-285
Also known as
GHSA-rhfv-688c-p6hp
Sources
NVDJSONOSV GHSA-rhfv-688c-p6hpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 4.8 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 16.10.0, < 16.10.4 16.10.4
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:17.0.0:-:*:*:*:*:*:*
= 17.0.0
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:17.0.0:rc1:*:*:*:*:*:*
= 17.0.0
OSV Maven org.xwiki.platform:xwiki-platform-security-authorization-bridge >= 16.10.0-rc-1, < 16.10.4 16.10.4
OSV Maven org.xwiki.platform:xwiki-platform-security-authorization-bridge >= 17.0.0-rc-1, < 17.1.0-rc-1 17.1.0-rc-1

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 21 May 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.