high8.7
CVE-2025-49586
XWiki allows remote code execution through preview of XClass changes in AWM editor
Impact
### 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](https://jira.xwiki.org/browse/XWIKI-22719). ### 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-oldcore | >= 7.2-milestone-2, < 16.4.7 | 16.4.7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Xwiki | Xwiki | from 7.3 before 16.4.7 from 16.5.0 before 16.10.3 Versions 7.2, 17.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jp4x-w9cj-97q7
- https://jira.xwiki.org/browse/XWIKI-22719
- https://github.com/advisories/GHSA-jp4x-w9cj-97q7
- https://nvd.nist.gov/vuln/detail/CVE-2025-49586