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

CVE-2025-49586 · Severity: medium · CVSS 4 · Published 2025-06-13

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

Technologies: org.xwiki.platform:xwiki-platform-oldcore (Maven). Vendors: Maven.

Quick answers

Is CVE-2025-49586 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-49586 being exploited in the wild.
How severe is CVE-2025-49586?
Medium severity, with a CVSS score of 4, published 13 June 2025.
Which products and versions are affected?
org.xwiki.platform:xwiki-platform-oldcore (Maven) ECOSYSTEM:introduced=7.2-milestone-2,fixed=16.4.7.
Is there a fix for CVE-2025-49586?
Yes. org.xwiki.platform:xwiki-platform-oldcore (Maven): upgrade to 16.4.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-49586?
Check whether you run org.xwiki.platform:xwiki-platform-oldcore (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.xwiki.platform:xwiki-platform-oldcore (Maven): upgrade to 16.4.7 or later
    # set org.xwiki.platform:xwiki-platform-oldcore to 16.4.7 in your pom.xml or build.gradle

Affected products

  • org.xwiki.platform:xwiki-platform-oldcore (Maven) ECOSYSTEM:introduced=7.2-milestone-2,fixed=16.4.7

Identifiers

  • CVE-2025-49586
  • GHSA-jp4x-w9cj-97q7

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.