Skip to content

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

HighCVSS 8.7 EPSS 1.5% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-legacy-oldcore(Maven) >= 1.1, < 16.4.7; >= 16.5.0-rc-1, < 16.10.5; >= 17.0.0-rc-1, < 17.2.0-rc-1 16.4.7, 16.10.5, 17.2.0-rc-1 Fixed
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 1.1, < 16.4.7; >= 16.5.0-rc-1, < 16.10.5; >= 17.0.0-rc-1, < 17.2.0-rc-1 16.4.7, 16.10.5, 17.2.0-rc-1 Fixed
xwiki >= 1.1, < 16.4.7; >= 16.5.0, < 16.10.5; >= 17.0.0, <= 17.1.0 16.4.7, 16.10.5 Fixed
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 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 1.1, < 16.4.7 16.4.7
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 16.5.0-rc-1, < 16.10.5 16.10.5
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 17.0.0-rc-1, < 17.2.0-rc-1 17.2.0-rc-1
org.xwiki.platform/xwiki-platform-legacy-oldcore(Maven) >= 1.1, < 16.4.7 16.4.7
org.xwiki.platform/xwiki-platform-legacy-oldcore(Maven) >= 16.5.0-rc-1, < 16.10.5 16.10.5
org.xwiki.platform/xwiki-platform-legacy-oldcore(Maven) >= 17.0.0-rc-1, < 17.2.0-rc-1 17.2.0-rc-1
xwiki-platform = >= 1.1, < 16.4.7 No fix listed
xwiki-platform = >= 16.5.0-rc-1, < 16.10.5 No fix listed
xwiki-platform = >= 17.0.0-rc-1, < 17.2.0-rc-1 No fix listed
xwiki >= 1.1, < 16.4.7 16.4.7
xwiki >= 16.5.0, < 16.10.5 16.10.5
xwiki >= 17.0.0, <= 17.1.0 No fix listed

References