CVE-2025-49585 XWiki does not require right warnings for XClass definitions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-security-requiredrights-default(Maven) | < 15.10.16; >= 16.0.0-rc-1, < 16.4.7; >= 16.5.0-rc-1, < 16.10.2 | 15.10.16, 16.4.7, 16.10.2 | Fixed |
| xwiki | < 15.10.16; >= 16.0.0, < 16.4.7; >= 16.5.0, < 16.10.2 | 15.10.16, 16.4.7, 16.10.2 | Fixed |
| xwiki-platform | = < 15.10.16; = >= 16.0.0-rc-1, < 16.4.7; = >= 16.5.0-rc-1, < 16.10.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-security-requiredrights-default(Maven) | < 15.10.16 | 15.10.16 |
| org.xwiki.platform/xwiki-platform-security-requiredrights-default(Maven) | >= 16.0.0-rc-1, < 16.4.7 | 16.4.7 |
| org.xwiki.platform/xwiki-platform-security-requiredrights-default(Maven) | >= 16.5.0-rc-1, < 16.10.2 | 16.10.2 |
| xwiki-platform | = < 15.10.16 | No fix listed |
| xwiki-platform | = >= 16.0.0-rc-1, < 16.4.7 | No fix listed |
| xwiki-platform | = >= 16.5.0-rc-1, < 16.10.2 | No fix listed |
| xwiki | < 15.10.16 | 15.10.16 |
| xwiki | >= 16.0.0, < 16.4.7 | 16.4.7 |
| xwiki | >= 16.5.0, < 16.10.2 | 16.10.2 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-59w6-r9hm-439h vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b144b6d2e2c2d45 patch
- github.com product
- https://jira.xwiki.org/browse/XWIKI-22476 exploit issue-tracking vendor-advisory
- github.com