XWiki does not require right warnings for XClass definitions
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | before 15.10.16; 16.0.0-rc-1 to before 16.4.7; 16.5.0-rc-1 to before 16.10.2 | 15.10.16, 16.4.7, 16.10.2 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) | before 15.10.16 | 15.10.16 | Patch available | GHSA-59w6-r9hm-439h |
| — | org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) | 16.0.0-rc-1 to before 16.4.7 | 16.4.7 | Patch available | GHSA-59w6-r9hm-439h |
| — | org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) | 16.5.0-rc-1 to before 16.10.2 | 16.10.2 | Patch available | GHSA-59w6-r9hm-439h |
- xwiki-platform VendorXWiki Affected before 15.10.16; 16.0.0-rc-1 to before 16.4.7; 16.5.0-rc-1 to before 16.10.2 Fixed in 15.10.16, 16.4.7, 16.10.2 Patch available CNA
- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Vendor— Affected before 15.10.16 Fixed in 15.10.16 Patch available GHSA-59w6-r9hm-439h
- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Vendor— Affected 16.0.0-rc-1 to before 16.4.7 Fixed in 16.4.7 Patch available GHSA-59w6-r9hm-439h
- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.2 Fixed in 16.10.2 Patch available GHSA-59w6-r9hm-439h
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 15.10.16, 16.4.7, 16.10.2
- Fix · GHSA-59w6-r9hm-439h org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Fixed in 15.10.16 Advisory →
- Fix · GHSA-59w6-r9hm-439h org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Fixed in 16.4.7 Advisory →
- Fix · GHSA-59w6-r9hm-439h org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Fixed in 16.10.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-49585
- 2026-10-03 Alias added: GHSA-59w6-r9hm-439h
References
Advisory 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2025-49585 · CVE Program
- CVE-2025-49585 · NVD
- FIRST EPSS
- GHSA-59w6-r9hm-439h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences