HIGH 7.5

CVE-2025-29924

XWiki uses the wrong wiki reference in AuthorizationManager

Description

Impact

It's possible for an user to get access to private information through the REST API - but could also be through another API - when a sub wiki is using "Prevent unregistered users to view pages". The vulnerability only affects subwikis, and it only concerns specific right options such as "Prevent unregistered users to view pages". or "Prevent unregistered users to edit pages".

It's possible to detect the vulnerability by enabling "Prevent unregistered users to view pages" and then trying to access a page through the REST API without using any credentials.

Patches

The vulnerability has been patched in XWiki 15.10.14, 16.4.6 and 16.10.0RC1.

Workarounds

There's no workaround.

References

  • JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22640
  • Commit of the fix: https://github.com/xwiki/xwiki-platform/commit/5f98bde87288326cf5787604e2bb87836875ed0e

For more information

If you have any questions or comments about this advisory:

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.xwiki.platform » xwiki-platform-security-authorization-api
>= 6.1-rc-1, < 15.10.14>= 16.0.0-rc-1, < 16.4.6>= 16.5.0-rc-1, < 16.10.0-rc-1
15.10.14, 16.4.6, 16.10.0-rc-1

Blast radius

1affected artifacts
130affected versions
726dependent artifacts (est.)
53,235dependent versions

42% of the dependent artifacts (305) still pull an affected version in their latest release.

DepthDependent versions
Direct
4,031
2 hops
22,256
3 hops
18,004
4 hops
4,563
5 hops
371
6 hops
4,010

Most used dependents

Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.