CVE-2025-49585

High

Description

XWiki is a generic wiki platform. In versions before 15.10.16, 16.0.0-rc-1 through 16.4.6, and 16.5.0-rc-1 through 16.10.1, 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. 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.

SeverityHigh
CVSS8.0
Exploit probability—
ProductXwiki
PublishedJun 13, 2025
First seenJun 13, 2025
Weakness typeCWE-357CWE-357

How to fix

Update
  • xwiki xwiki15.10.16, 16.4.7, 16.10.2 or later
  • org.xwiki.platform:xwiki-platform-security-requiredrights-default15.10.16, 16.4.7, 16.10.2 or later

Affected products

ProductAffected versionsFixed in
xwiki xwikiv < 15.10.16, 16.0.0 ≤ v < 16.4.7, 16.5.0 ≤ v < 16.10.215.10.16, 16.4.7, 16.10.2
org.xwiki.platform:xwiki-platform-security-requiredrights-defaultMavenv < 15.10.16, 16.0.0-rc-1 ≤ v < 16.4.7, 16.5.0-rc-1 ≤ v < 16.10.215.10.16, 16.4.7, 16.10.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.