Quick answers
- Is CVE-2025-49580 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-49580 being exploited in the wild.
- How severe is CVE-2025-49580?
- High severity, with a CVSS score of 4, published 13 June 2025.
- Which products and versions are affected?
- org.xwiki.platform:xwiki-platform-refactoring-default (Maven) ECOSYSTEM:introduced=17.0.0-rc-1,fixed=17.1.0-rc-1; XWiki Platform >= 7.4.5, < 8.0-milestone-1; >= 8.2, < 16.4.7; >= 16.5.0-rc-1, < 16.10.4; >= 17.0.0-rc-1, < 17.1.0-rc-1.
- Is there a fix for CVE-2025-49580?
- Yes. org.xwiki.platform:xwiki-platform-refactoring-default (Maven): upgrade to 17.1.0-rc-1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-49580 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2025-49580?
- Check whether you run org.xwiki.platform:xwiki-platform-refactoring-default (Maven) or XWiki Platform 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-refactoring-default (Maven): upgrade to 17.1.0-rc-1 or later
# set org.xwiki.platform:xwiki-platform-refactoring-default to 17.1.0-rc-1 in your pom.xml or build.gradle
Technical details
A privilege escalation vulnerability exists in XWiki's refactoring module (xwiki-platform-refactoring-default). When a page containing a link is renamed or moved, the system incorrectly updates metadata in a way that can grant the page script or programming rights it should not possess. An attacker with 'edit' rights can exploit this by creating a page with malicious scripts in xobjects and then inducing a user with higher privileges (such as an administrator) to perform a move or rename operation on a linked target. This results in the execution of the attacker's scripts under the context of the higher-privileged user. The issue is resolved by ensuring that refactoring operations only update display metadata (originalMetadataAuthor) without affecting the security context used for rights evaluation.
Affected products
- XWiki XWiki Platform >= 7.4.5, < 8.0-milestone-1; >= 8.2, < 16.4.7; >= 16.5.0-rc-1, < 16.10.4; >= 17.0.0-rc-1, < 17.1.0-rc-1
Identifiers
- CVE-2025-49580
- GHSA-jm43-hrq7-r7w6
Timeline
- 2025-06-13: disclosed
- 2025-06-13: advisory
- 2025-06-13: patched