All reports
High

XWiki allows remote code execution through preview of XClass changes in AWM editor

Affected versions

Affected versions
>= 16.5.0-rc-1, < 16.10.3
Fixed version
16.10.3
Affected versions
>= 17.0.0-rc-1, < 17.0.0
Fixed version
17.0.0
Affected versions
>= 7.2-milestone-2, < 16.4.7
Fixed version
16.4.7

Exploitation

CVE-2025-49586

Probability of exploitation in the next 30 days: 0.80%

FIRST EPSS · 2026-11-17

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.

Links