Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-49582 — xwiki

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-357 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

XWiki's required right warnings for macros are incomplete

Impact

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.

Patches

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.

Workarounds

We're not aware of any workarounds except for being careful when editing content authored by untrusted users.

References

  • https://jira.xwiki.org/browse/XWIKI-22763
  • https://jira.xwiki.org/browse/XWIKI-22759
  • https://jira.xwiki.org/browse/XWIKI-22758
  • https://jira.xwiki.org/browse/XWIKI-22799
  • https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8
  • https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7
  • https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd
  • https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: Required — someone has to click, open or visit something.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2025-49582 is classified as CWE-357: Insufficient UI Warning of Dangerous Operations. The user interface provides a warning to a user regarding dangerous or sensitive operations, but the warning is not noticeable enough to warrant attention.

Affected software

CVE-2025-49582 is recorded against 5 packages.

  • org.xwiki.platform:xwiki-platform-rendering-macro-cache (from 17.0.0-rc-1 up to 17.0.0)
  • org.xwiki.platform:xwiki-platform-rendering-macro-context (from 17.0.0-rc-1 up to 17.0.0)
  • org.xwiki.platform:xwiki-platform-rendering-xwiki (from 17.0.0-rc-1 up to 17.0.0)
  • org.xwiki.platform:xwiki-platform-security-requiredrights-default (from 17.0.0-rc-1 up to 17.0.0)
  • xwiki

Timeline and source

Published on 13 June 2025 and last revised on 4 November 2025. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
jira.xwiki.org (Web)
jira.xwiki.org (Web)
jira.xwiki.org (Web)
jira.xwiki.org (Web)

Same weakness in other software

These advisories are the same class of weakness (CWE-357: Insufficient UI Warning of Dangerous Operations) in other software:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CWE CWE-357
Public Exploit ✅ No
Source NVD
Published 2025-06-13
Updated 2026-08-20
Modified 2025-11-04

Affected Packages

Software From version Fixed in
org.xwiki.platform:xwiki-platform-rendering-macro-cache 17.0.0-rc-1 17.0.0
org.xwiki.platform:xwiki-platform-rendering-macro-context 17.0.0-rc-1 17.0.0
org.xwiki.platform:xwiki-platform-rendering-xwiki 17.0.0-rc-1 17.0.0
org.xwiki.platform:xwiki-platform-security-requiredrights-default 17.0.0-rc-1 17.0.0
xwiki

Site Security Check

Is xwiki part of your stack?

CVE-2025-49582 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025