CVE-2025-49585 Details
Description
XWiki is a generic wiki platform. In versions before 15.10.16, 16.0.0-rc-1 through 16.4.6, and 16.5.0-rc-1 through 16.10.1, when an attacker without script or programming right creates an XClass definition in XWiki (requires edit right), and that same document is later edited by a user with script, admin, or programming right, malicious code could be executed with the rights of the editing user without prior warning. In particular, this concerns custom display code, the script of computed properties and queries in database list properties. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful. This has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.
A vulnerability exists in XWiki versions prior to 15.10.16, 16.0.0-rc-1 through 16.4.6, and 16.5.0-rc-1 through 16.10.1. It allows an attacker without script or programming rights to execute malicious code by creating an XClass definition that includes dangerous properties, such as database list queries or custom display scripts. This code is executed under the rights of the user editing the document, without any prior warning. The issue arises because, before XWiki version 15.9, there were no alerts about the risks of editing documents with potentially harmful properties.
Users can upgrade to XWiki versions 15.10.16, 16.4.7, or 16.10.2, where this vulnerability has been patched. Instructions for updating XWiki can be found in the XWiki documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b144b6d2e2c2d45 | [email protected] | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-59w6-r9hm-439h | [email protected] | Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-22476 | [email protected] | ExploitIssue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-357 | Insufficient UI Warning of Dangerous Operations | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xwiki xwiki | < 15.10.16 >= 16.0.0, < 16.4.7 >= 16.5.0, < 16.10.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2025 | Initial Analysis | [email protected] |
| Jun 13, 2025 | New CVE Received | [email protected] |