CVE-2025-49585

XWiki does not require right warnings for XClass definitions

State
Published
Severity
8.6 High
Published
Jun 13, 2025
Updated
Jun 13, 2025
Reserved
Jun 6, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:NGitHub_M

Weaknesses

  • CWE-357 Insufficient UI Warning of Dangerous Operations

Affected Products

ProductVersions
xwiki-platformxwiki
  • < 15.10.16Affected
  • >= 16.0.0-rc-1, < 16.4.7Affected
  • >= 16.5.0-rc-1, < 16.10.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.