# CVE-2025-54125: XWiki Platform: Password and email exposure in xml.vm fields

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.48%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-05T17:13:24.000Z
- Modified: 2026-06-17T09:39:29.683Z
- Also known as: GHSA-57q2-6cp4-9mq3
- Weaknesses: CWE-359
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 1.1 before 16.4.7; from 16.5.0-rc-1 before 16.10.5; from 17.0.0-rc-1 before 17.2.0-rc-1
- org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven): from 1.1 before 16.4.7; from 16.5.0-rc-1 before 16.10.5; from 17.0.0-rc-1 before 17.2.0-rc-1
- xwiki xwiki: from 1.1 before 16.4.7; from 16.5.0 before 16.10.5; from 17.0.0 up to 17.1.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://jira.xwiki.org/browse/XWIKI-22810> (exploit, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-57q2-6cp4-9mq3> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/742ee3482ef6c2bd4ad03d0de9cdd81d0e8f3d59> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54125> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2025-54125](https://www.cve.org/CVERecord?id=CVE-2025-54125), CVE Terms of Use, modified 2025-08-06
- GitHub Advisory Database: [GHSA-57q2-6cp4-9mq3](https://github.com/advisories/GHSA-57q2-6cp4-9mq3), CC-BY-4.0, modified 2025-08-06
- NVD: [CVE-2025-54125](https://nvd.nist.gov/vuln/detail/CVE-2025-54125), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54125 · Whole record: https://cve.day/CVE-2025-54125.json · Rebuilt by cve.day 2026-11-25T22:59:02.073Z
