CVE-2025-49582
XWiki is a generic wiki platform. When editing content that contains "dangerous" macros like malicious script macros that were authored by a user with fewer rights, XWiki warns about the execution of these macros since XWiki 15.9RC1. These required rights analyzers that trigger these warnings are incomplete, allowing an attacker to hide malicious content. For most macros, the existing analyzers don't consider non-lowercase parameters. Further, most macro parameters that can contain XWiki syntax like titles of information boxes weren't analyzed at all. Similarly, the "source" parameters of the content and context macro weren't anylzed even though they could contain arbitrary XWiki syntax. In the worst case, this could allow a malicious to add malicious script macros including Groovy or Python macros to a page that are then executed after another user with programming righs edits the page, thus allowing remote code execution. The required rights analyzers have been made more robust and extended to cover those cases in XWiki 16.4.7, 16.10.3 and 17.0.0.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.6
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS probability
- 0.82%
- CWE
- CWE-357
- Published
- 2025-06-13
- Last modified
- 2026-03-13
Affected products
- xwiki xwiki-platform
- xwiki xwiki-platform
- xwiki xwiki-platform
Weakness type
Related vulnerabilities
- CVE-2026-58597 — Microsoft Edge (Chromium-based) Spoofing Vulnerability
- CVE-2026-47782 — Android App "RoboForm Password Manager" provided by Siber Systems, Inc. handles Android intents...
- CVE-2026-26151 — Remote Desktop Spoofing Vulnerability
- CVE-2025-47967 — Microsoft Edge (Chromium-based) for Android Spoofing Vulnerability
- CVE-2025-33054 — Remote Desktop Spoofing Vulnerability
- CVE-2025-49587 — XWiki does not require right warnings for notification displayer objects
- CVE-2025-49585 — XWiki does not require right warnings for XClass definitions
- CVE-2025-49583 — XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRendererClass admin right