CVEfocus › CVE database › CVE-2025-49582

CVE-2025-49582XWiki's required right warnings for macros are incomplete

CVSS 8.6 HighEPSS 3.4% (higher than 90% of CVEs)Published 2025-06-13Updated 2025-06-13Assigner: GitHub_M

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.

CWE-357

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Maven libraryorg.xwiki.platform:xwiki-platform-rendering-macro-cacheFixed17.0.0GHSA-c32m-27pj-4xcj
Maven libraryorg.xwiki.platform:xwiki-platform-rendering-macro-contextFixed16.4.7GHSA-c32m-27pj-4xcj
Maven libraryorg.xwiki.platform:xwiki-platform-rendering-xwikiFixed17.0.0GHSA-c32m-27pj-4xcj
Maven libraryorg.xwiki.platform:xwiki-platform-security-requiredrights-defaultFixed16.4.7GHSA-c32m-27pj-4xcj

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.