CVE-2025-49585

CVE-2025-49585 is a high-severity security vulnerability in org.xwiki.platform:xwiki-platform-security-requiredrights-default (maven), affecting versions < 15.10.16. It is fixed in 15.10.16, 16.4.7, 16.10.2.

Summary

Workarounds

We're not aware of any real workarounds apart from just being careful with editing documents previously edited by untrusted users as a user with script, admin or programming right.

Impact

When an attacker without script or programming right creates an XClass definition in XWiki (requires edit right), and that same document is later edited by a user with script, admin, or programming right, malicious code could be executed with the rights of the editing user without prior warning. In particular, this concerns custom display code, the script of computed properties and queries in database list properties. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful.

Affected versions

org.xwiki.platform:xwiki-platform-security-requiredrights-default (< 15.10.16) org.xwiki.platform:xwiki-platform-security-requiredrights-default (>= 16.0.0-rc-1, < 16.4.7) org.xwiki.platform:xwiki-platform-security-requiredrights-default (>= 16.5.0-rc-1, < 16.10.2)

Security releases

org.xwiki.platform:xwiki-platform-security-requiredrights-default → 15.10.16 (maven) org.xwiki.platform:xwiki-platform-security-requiredrights-default → 16.4.7 (maven) org.xwiki.platform:xwiki-platform-security-requiredrights-default → 16.10.2 (maven)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

This has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.

Frequently Asked Questions

  1. What is CVE-2025-49585? CVE-2025-49585 is a high-severity security vulnerability in org.xwiki.platform:xwiki-platform-security-requiredrights-default (maven), affecting versions < 15.10.16. It is fixed in 15.10.16, 16.4.7, 16.10.2.
  2. Which versions of org.xwiki.platform:xwiki-platform-security-requiredrights-default are affected by CVE-2025-49585? org.xwiki.platform:xwiki-platform-security-requiredrights-default (maven) versions < 15.10.16 is affected.
  3. Is there a fix for CVE-2025-49585? Yes. CVE-2025-49585 is fixed in 15.10.16, 16.4.7, 16.10.2. Upgrade to this version or later.
  4. Is CVE-2025-49585 exploitable, and should I be worried? Whether CVE-2025-49585 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2025-49585 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2025-49585?
    • Upgrade org.xwiki.platform:xwiki-platform-security-requiredrights-default to 15.10.16 or later
    • Upgrade org.xwiki.platform:xwiki-platform-security-requiredrights-default to 16.4.7 or later
    • Upgrade org.xwiki.platform:xwiki-platform-security-requiredrights-default to 16.10.2 or later

Other vulnerabilities in org.xwiki.platform:xwiki-platform-security-requiredrights-default

CVE-2025-49585CVE-2025-49582

Stop the waste.
Protect your environment with Kodem.