Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕ Maven
Not in CISA KEV

CVE-2025-49582 — xwiki-platform-rendering-…

Fix: xwiki/xwiki-platform@0a705e8

CVE-2025-49582 is a CWE-357 vulnerability in org.xwiki.platform:xwiki-platform-rendering-xwiki. A fix is available for org.xwiki.platform:xwiki-platform-rendering-xwiki — see the affected versions and patch details below.

XWiki's required right warnings for macros are incomplete

Also known asGHSA-c32m-27pj-4xcj
Published
Jun 13, 2025
Updated
Aug 12, 2026
Affected
12 pkgs
Patched
12 / 12
Exploits
None indexed
Exploitation data as of Sep 21, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-49582.

EPSS Exploitation Probability

via FIRST.org ↗
0.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs57th percentile — riskier than 57% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Real-World Exposure

12 pkgs affected
☕org.xwiki.platform:xwiki-platform-rendering-xwiki☕org.xwiki.platform:xwiki-platform-rendering-xwiki☕org.xwiki.platform:xwiki-platform-rendering-xwiki☕org.xwiki.platform:xwiki-platform-rendering-macro-cache☕org.xwiki.platform:xwiki-platform-rendering-macro-cache☕org.xwiki.platform:xwiki-platform-rendering-macro-cache☕org.xwiki.platform:xwiki-platform-security-requiredrights-default☕org.xwiki.platform:xwiki-platform-security-requiredrights-default+4 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

12 total 12 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.xwiki.platform:xwiki-platform-rendering-xwiki≥ 15.9-rc-1&&< 16.4.716.4.7org.xwiki.platform:xwiki-platform-rendering-xwiki:16.4.7
☕Mavenorg.xwiki.platform:xwiki-platform-rendering-xwiki≥ 16.5.0-rc-1&&< 16.10.316.10.3org.xwiki.platform:xwiki-platform-rendering-xwiki:16.10.3
☕Mavenorg.xwiki.platform:xwiki-platform-rendering-xwiki≥ 17.0.0-rc-1&&< 17.0.017.0.0org.xwiki.platform:xwiki-platform-rendering-xwiki:17.0.0
☕Mavenorg.xwiki.platform:xwiki-platform-rendering-macro-cache≥ 15.9-rc-1&&< 16.4.716.4.7org.xwiki.platform:xwiki-platform-rendering-macro-cache:16.4.7
☕Mavenorg.xwiki.platform:xwiki-platform-rendering-macro-cache≥ 16.5.0-rc-1&&< 16.10.316.10.3org.xwiki.platform:xwiki-platform-rendering-macro-cache:16.10.3
☕Mavenorg.xwiki.platform:xwiki-platform-rendering-macro-cache≥ 17.0.0-rc-1&&< 17.0.017.0.0org.xwiki.platform:xwiki-platform-rendering-macro-cache:17.0.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-rendering-xwiki, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.xwiki.platform:xwiki-platform-rendering-xwiki to 16.4.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-49582 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2025-49582 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2025-49582. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### 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 mac
O3 Security · Impact-Aware SCA

Is CVE-2025-49582 in your dependencies?

O3 Security finds CVE-2025-49582 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2025-49582: xwiki-platform-rendering | O3 Security