CVE-2025-54125
mediumpriority · track · 27EPSS 0.015 · 73 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.3–8.7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (21)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-legacy-oldcore1.1 → 16.4.7osvUSpkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore
- Maven org.xwiki.platform:xwiki-platform-legacy-oldcore16.5.0-rc-1 → 16.10.5osvUSpkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore
- Maven org.xwiki.platform:xwiki-platform-legacy-oldcore17.0.0-rc-1 → 17.2.0-rc-1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore
- Maven org.xwiki.platform:xwiki-platform-oldcore1.1 → 16.4.7osvUSpkg:maven/org.xwiki.platform/xwiki-platform-oldcore
- Maven org.xwiki.platform:xwiki-platform-oldcore16.5.0-rc-1 → 16.10.5osvUSpkg:maven/org.xwiki.platform/xwiki-platform-oldcore
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1729xwiki: Mehrere SchwachstellenDeutsch2025-08-05csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in xwiki ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen und vertrauliche Informationen offenzulegen.
- GHSA-57q2-6cp4-9mq3XWiki exposes passwords and emails stored in fields not named password/email in xml.vm2025-08-05ghsa · osvUS
### Impact 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 allows any user to obtain the salted and hashed user account validation or password reset token. As those tokens are randomly generated strings, the immediate impact of this should be low. The user's password and email itself aren't exposed as those fields are named `password` and `email` and thus aren't affected. However, depending on how the wiki is used, there could be extensions or custom code that store passwords in plain text in such password properties that would be exposed by this vulnerability. ### Patches This vulnerability has been fixed by completely removing the output of password and email fields in this XML export in versions 17.2.0 RC1, 16.10.5 and 16.4.7. ### Workarounds If this XML export isn't needed, the file `templates/xml.vm` in the deployed WAR can be deleted. There isn't any feature in XWiki itself that depends on this XML export.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-54125cnnvd
- https://github.com/xwiki/xwiki-platform/commit/742ee3482ef6c2bd4ad03d0de9cdd81d0e8f3d59cnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-57q2-6cp4-9mq3cnnvd
- https://jira.xwiki.org/browse/XWIKI-22810cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-54125cnnvd
- https://www.xwiki.org/xwiki/bin/view/Main/WebHomePatchcnnvd
- https://github.com/xwiki/xwiki-platform/commit/742ee3482ef6c2bd4ad03d0de9cdd81d0e8f3d59enisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-57q2-6cp4-9mq3enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan