CVE-2025-54124: XWiki leaks password hashes and other accessible password properties
Impact Any user with edit right on a page of the wiki can create an XClass with a database list property that references a password property, for example the password hash that is stored for users. When adding an object of that XClass, the content of that password property is displayed.
Published Aug 5, 2025 · Updated Aug 6, 2025
Affected packages
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 9.8-rc-1, < 16.4.7
- Fixed in
- 16.4.7
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 16.5.0-rc-1, < 16.10.5
- Fixed in
- 16.10.5
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.2.0-rc-1
- Fixed in
- 17.2.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 9.8-rc-1, < 16.4.7
- Fixed in
- 16.4.7
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 16.5.0-rc-1, < 16.10.5
- Fixed in
- 16.10.5
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.2.0-rc-1
- Fixed in
- 17.2.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Any user with edit right on a page of the wiki can create an XClass with a database list property that references a password property, for example the password hash that is stored for users. When adding an object of that XClass, the content of that password property is displayed. In practice, with a standard rights setup, this means that any user with an account on the wiki can access password hashes of all users, and possibly other password properties (with hashed or plain storage) that are on pages that the user can view.
Patches
This vulnerability has been pached in XWiki 16.4.7, 16.10.5, and 17.2.0 by disallowing the use of password properties in database list properties. Additionally, queries for email properties are disallowed, too, when email obfuscation is enabled.
Workarounds
We're not aware of any workarounds.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r38m-cgpg-qj69
- https://github.com/xwiki/xwiki-platform/commit/f2ca8649cba2ed3765061660bf5c7f801afa0b24
- https://jira.xwiki.org/browse/XWIKI-22811
- https://nvd.nist.gov/vuln/detail/CVE-2025-54124
- https://github.com/advisories/GHSA-r38m-cgpg-qj69
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-34151
XWiki Platform Old Core: Resource path traversal via /skin/ action endpoint in Jetty 12+
high8.2Jul 7, 2026CVE-2026-40104
XWiki's REST APIs can list all pages/spaces, leading to unavailability
medium8.2Apr 14, 2026CVE-2026-33229
XWiki vulnerable to remote code execution with script right through unprotected Velocity scripting API
high8.6Apr 8, 2026CVE-2025-54125
XWiki exposes passwords and emails stored in fields not named password/email in xml.vm
high8.7Aug 5, 2025CVE-2025-54385
XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API
high8.6Jul 25, 2025CVE-2025-49586
XWiki allows remote code execution through preview of XClass changes in AWM editor
high8.7Jun 13, 2025
