CVE-2025-49585

HIGH

XWiki - Code Injection via XClass Definition

Title source: llm
STIX 2.1

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.

References (3)

Core 3

Scores

CVSS v3 8.0
EPSS 0.0062
EPSS Percentile 70.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-357
Status published
Products (2)
org.xwiki.platform/xwiki-platform-security-requiredrights-default 0 - 15.10.16Maven
xwiki/xwiki < 15.10.16
Published Jun 13, 2025
Tracked Since Feb 18, 2026