{"id":"CVE-2025-49586","summary":"XWiki allows remote code execution through preview of XClass changes in AWM editor","details":"XWiki is an open-source wiki software platform. 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. This vulnerability has been fixed in XWiki 17.0.0, 16.4.7, and 16.10.3.","aliases":["GHSA-jp4x-w9cj-97q7"],"modified":"2026-04-10T05:29:00.160351Z","published":"2025-06-13T17:47:07.105Z","database_specific":{"cwe_ids":["CWE-863"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49586.json"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-22719"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49586.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jp4x-w9cj-97q7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49586"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"195c7ab5c73103368748f201dddbae273ca8576f"},{"fixed":"f5a9a0762750936523187286919ec4c1892d6fea"}],"database_specific":{"versions":[{"introduced":"7.2-milestone-2"},{"fixed":"16.4.7"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"ed06c998964cae931ccfe7005a67eeaedaf60e58"},{"fixed":"8cde0f326b60732330378e3ac10c630021e9cad7"}],"database_specific":{"versions":[{"introduced":"16.5.0-rc-1"},{"fixed":"16.10.3"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"445c0831fb8cf5610eda0eb58225890cb2bece6c"},{"fixed":"7edb5b7d98170ec081c7e30237971d7dfb8a4401"}],"database_specific":{"versions":[{"introduced":"17.0.0-rc-1"},{"fixed":"17.0.0"}]}}],"versions":["xwiki-platform-17.0.0-rc-1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49586.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}