CVE-2025-49580 Details
Description
XWiki is a generic wiki platform. From 8.2 and 7.4.5 until 17.1.0-rc-1, 16.10.4, and 16.4.7, pages can gain script or programming rights when they contain a link and the target of the link is renamed or moved. This might lead to execution of scripts contained in xobjects that should have never been executed. This vulnerability is fixed in 17.1.0-rc-1, 16.10.4, and 16.4.7.
A vulnerability in XWiki allows for privilege escalation and unauthorized script execution through improper handling of link refactoring. This issue affects XWiki versions 8.2, 7.4.5 prior to 17.1.0-rc-1, 16.10.4, and 16.4.7. The vulnerability arises when a link in a page is renamed or moved, leading to the execution of scripts in xobjects that should not have been executed. The flaw is rooted in the fact that during a refactoring operation, the document is saved with the current user's metadata author, which can inadvertently grant script rights to users who should not have them.
Users are advised to upgrade to XWiki versions 17.1.0-rc-1, 16.10.4, or 16.4.7. If an immediate upgrade is not possible, the vulnerable 'xwiki-platform-refactoring-default' module can be patched manually by applying the relevant commit and rebuilding the module.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xwiki/xwiki-platform/commit/ab209acd780da69a4c5ff77ff011efd698273cec | [email protected] | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jm43-hrq7-r7w6 | [email protected] | Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-22836 | [email protected] | ExploitIssue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xwiki xwiki | >= 7.4.5, < 16.4.7 >= 16.5.0, < 16.10.4 >= 17.0.0, < 17.1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2025 | Initial Analysis | [email protected] |
| Jun 13, 2025 | New CVE Received | [email protected] |