GitHub Advisoryadvisory · Maven
GHSA-jp4x-w9cj-97q7 XWiki allows remote code execution through preview of XClass changes in AWM editor
HIGH
Official page ↗
- Aliases
- CVE-2025-49586
- Ecosystem
- Maven
- Packages
- org.xwiki.platform:xwiki-platform-oldcore
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weaknesses
- CWE-863
- Reviewed
- 2025-06-13
Affected packages
• Maven org.xwiki.platform:xwiki-platform-oldcore: >= 7.2-milestone-2, < 16.4.7 → fixed in 16.4.7
• Maven org.xwiki.platform:xwiki-platform-oldcore: >= 16.5.0-rc-1, < 16.10.3 → fixed in 16.10.3
• Maven org.xwiki.platform:xwiki-platform-oldcore: >= 17.0.0-rc-1, < 17.0.0 → fixed in 17.0.0
Description
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.
Related
Alias · CVE (1)
- CVE-2025-49586 XWiki is an open-source wiki software platform. vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jp4x-w9cj-97q7 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-49586 advisory
- https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42 web
- https://github.com/xwiki/xwiki-platform package
- https://jira.xwiki.org/browse/XWIKI-22719 web