NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

highCVSS 4.0 8.7GHSA-57q2-6cp4-9mq3

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.

Published Aug 5, 2025 · Updated Aug 6, 2025

Affected packages

org.xwiki.platform:xwiki-platform-oldcore

Ecosystem
Maven
Affected
>= 1.1, < 16.4.7
Fixed in
16.4.7
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore

org.xwiki.platform:xwiki-platform-oldcore

Ecosystem
Maven
Affected
>= 16.5.0-rc-1, < 16.10.5
Fixed in
16.10.5
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore

org.xwiki.platform:xwiki-platform-oldcore

Ecosystem
Maven
Affected
>= 17.0.0-rc-1, < 17.2.0-rc-1
Fixed in
17.2.0-rc-1
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore

org.xwiki.platform:xwiki-platform-legacy-oldcore

Ecosystem
Maven
Affected
>= 1.1, < 16.4.7
Fixed in
16.4.7
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore

org.xwiki.platform:xwiki-platform-legacy-oldcore

Ecosystem
Maven
Affected
>= 16.5.0-rc-1, < 16.10.5
Fixed in
16.10.5
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore

org.xwiki.platform:xwiki-platform-legacy-oldcore

Ecosystem
Maven
Affected
>= 17.0.0-rc-1, < 17.2.0-rc-1
Fixed in
17.2.0-rc-1
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries