CVE-2025-49586: XWiki allows remote code execution through preview of XClass changes in AWM editor
Impact Any XWiki user with edit right on at least one App Within Minutes application (the default for all users XWiki) can obtain programming right/perform remote code execution by editing the application. The detailed reproduction steps can be found in the original bug report. Patches This vulnerability has been fixed in XWiki 17.0.0, 16.4.7, and 16.10.3.
Published Jun 13, 2025
Affected packages
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 7.2-milestone-2, < 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.3
- Fixed in
- 16.10.3
- 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.0.0
- Fixed in
- 17.0.0
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Any XWiki user with edit right on at least one App Within Minutes application (the default for all users XWiki) can obtain programming right/perform remote code execution by editing the application. The detailed reproduction steps can be found in the original bug report.
Patches
This vulnerability has been fixed in XWiki 17.0.0, 16.4.7, and 16.10.3.
Workarounds
Restricting edit rights on all existing App Within Minutes applications to trusted users mitigates at least the PoC exploit, but we can't exclude that there are other ways to exploit this vulnerability.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jp4x-w9cj-97q7
- https://nvd.nist.gov/vuln/detail/CVE-2025-49586
- https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42
- https://jira.xwiki.org/browse/XWIKI-22719
- https://github.com/advisories/GHSA-jp4x-w9cj-97q7
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 entriesCVE-2026-34151
XWiki Platform Old Core: Resource path traversal via /skin/ action endpoint in Jetty 12+
high8.2Jul 7, 2026CVE-2026-40104
XWiki's REST APIs can list all pages/spaces, leading to unavailability
medium8.2Apr 14, 2026CVE-2026-33229
XWiki vulnerable to remote code execution with script right through unprotected Velocity scripting API
high8.6Apr 8, 2026CVE-2025-54124
XWiki leaks password hashes and other accessible password properties
high7.1Aug 5, 2025CVE-2025-54125
XWiki exposes passwords and emails stored in fields not named password/email in xml.vm
high8.7Aug 5, 2025CVE-2025-54385
XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API
high8.6Jul 25, 2025
