Vulnerability · Published Aug 5, 2025 · Assigned by GitHub_M
CVE-2025-54125XWiki Platform: Password and email exposure in xml.vm fields
High 8.7
In plain English
A high-severity security flaw in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki Platform Legacy Old Core and XWiki Platform Old Core versions 1.1 through 16.4.6, 16.5.0-rc-1 through 16.10.4 and 17.0.0-rc-1 through 17.1.0, the XML export of a page in XWiki that can be triggered by any user with view rights on a page by appending ?xpage=xml to the URL includes password and email properties stored on a document that aren't named password or email. This is fixed in versions 16.4.7, 16.10.5 and 17.2.0-rc-1. To work around this issue, the file templates/xml.vm in the deployed WAR can be deleted if the XML isn't needed. There isn't any feature in XWiki itself that depends on the XML export.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-legacy-oldcore | 16.4.7 | GHSA-57q2-6cp4-9mq3 |
| Maven | org.xwiki.platform:xwiki-platform-legacy-oldcore | 16.10.5 | GHSA-57q2-6cp4-9mq3 |
| Maven | org.xwiki.platform:xwiki-platform-legacy-oldcore | 17.2.0-rc-1 | GHSA-57q2-6cp4-9mq3 |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 16.4.7 | GHSA-57q2-6cp4-9mq3 |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 16.10.5 | GHSA-57q2-6cp4-9mq3 |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 17.2.0-rc-1 | GHSA-57q2-6cp4-9mq3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 1.1, < 16.4.7>= 16.5.0-rc-1, < 16.10.5>= 17.0.0-rc-1, < 17.2.0-rc-1 |
Weakness: CWE-359 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-57q2-6cp4-9mq3 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/742ee3482ef6c2bd4ad03d0de9cdd81d0e8f3d59 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-22810 x_refsource_MISC