# CVE-2025-54125: XWiki exposes passwords and emails stored in fields not named password/email in xml.vm

Source: https://junglewise.ai/threats/cve-2025-54125-xwiki-exposes-passwords-and-emails-stored-in-fields-not-named  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-08-05  
License: CC BY 4.0 with a link back

CVE-2025-54125 · Severity: medium · CVSS 4 · Published 2025-08-05

XWiki exposes passwords and emails stored in fields not named password/email in xml.vm

Technologies: [org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven)](https://junglewise.ai/threats/technologies/org-xwiki-platform-xwiki-platform-legacy-oldcore), [org.xwiki.platform:xwiki-platform-oldcore (Maven)](https://junglewise.ai/threats/technologies/org-xwiki-platform-xwiki-platform-oldcore). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-54125 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-54125 being exploited in the wild.

**How severe is CVE-2025-54125?** Medium severity, with a CVSS score of 4, published 5 August 2025.

**Which products and versions are affected?** org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven) ECOSYSTEM:introduced=1.1,fixed=16.4.7; org.xwiki.platform:xwiki-platform-oldcore (Maven) ECOSYSTEM:introduced=1.1,fixed=16.4.7.

**Is there a fix for CVE-2025-54125?** Yes. org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven): upgrade to 16.4.7 or later; org.xwiki.platform:xwiki-platform-oldcore (Maven): upgrade to 16.4.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-54125?** Check whether you run org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven) or org.xwiki.platform:xwiki-platform-oldcore (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven): upgrade to 16.4.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-legacy-oldcore to 16.4.7 in your pom.xml or build.gradle
  ```

- org.xwiki.platform:xwiki-platform-oldcore (Maven): upgrade to 16.4.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-oldcore to 16.4.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven) ECOSYSTEM:introduced=1.1,fixed=16.4.7
- org.xwiki.platform:xwiki-platform-oldcore (Maven) ECOSYSTEM:introduced=1.1,fixed=16.4.7

## Identifiers

- CVE-2025-54125
- GHSA-57q2-6cp4-9mq3

## Related threats

- [XWiki Platform path traversal in skin action endpoint](https://junglewise.ai/threats/cve-2026-34151-xwiki-platform-path-traversal-in-skin-action-endpoint)
- [XWiki's REST APIs can list all pages/spaces, leading to unavailability](https://junglewise.ai/threats/cve-2026-40104-xwiki-s-rest-apis-can-list-all-pages-spaces-leading-to)
- [XWiki Platform sandbox bypass in Velocity scripting API](https://junglewise.ai/threats/cve-2026-33229-xwiki-platform-sandbox-bypass-in-velocity-scripting-api)
- [XWiki leaks password hashes and other accessible password properties](https://junglewise.ai/threats/cve-2025-54124-xwiki-leaks-password-hashes-and-other-accessible-password)
- [XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API](https://junglewise.ai/threats/cve-2025-54385-xwiki-platform-vulnerable-to-sql-injection-through-xwiki)
