Vulnerability · Published Jun 13, 2025 · Assigned by GitHub_M

CVE-2025-49585XWiki does not require right warnings for XClass definitions

High 8.6

In plain English

A high-severity security flaw in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.6High
Exploit odds (30 days)0.4%top 61.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-security-requiredrights-default15.10.16GHSA-59w6-r9hm-439h
Mavenorg.xwiki.platform:xwiki-platform-security-requiredrights-default16.4.7GHSA-59w6-r9hm-439h
Mavenorg.xwiki.platform:xwiki-platform-security-requiredrights-default16.10.2GHSA-59w6-r9hm-439h

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform < 15.10.16>= 16.0.0-rc-1, < 16.4.7>= 16.5.0-rc-1, < 16.10.2

Weakness: CWE-357 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N

References