{"id":"CVE-2025-49585","published":"2025-06-13T17:33:34Z","modified":"2025-06-13T18:02:11Z","title":"XWiki does not require right warnings for XClass definitions","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00457,"percentile":0.40521,"provenance":"source"},"cwes":[{"id":"CWE-357","name":"Insufficient UI Warning of Dangerous Operations"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-59w6-r9hm-439h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b144b6d2e2c2d45","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22476","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.1},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["< 15.10.16",">= 16.0.0-rc-1, < 16.4.7",">= 16.5.0-rc-1, < 16.10.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-06-13T17:59:17.152454Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security-requiredrights-default","vulnerableRanges":["<15.10.16",">=16.0.0-rc-1, <16.4.7",">=16.5.0-rc-1, <16.10.2"],"patched":["15.10.16","16.4.7","16.10.2"],"from":["GHSA-59w6-r9hm-439h"],"provenance":"source"}],"summary":{"text":"XWiki's xwiki-platform (the generic wiki platform) fails to show warnings before editing documents containing dangerous XClass properties, such as custom display code, computed property scripts, and database list query scripts. An attacker with only edit rights can create such an XClass definition, and it can then run code with the rights of a user with script, admin, or programming rights who later edits that same document, after the attacker has made the edit and without any prior warning to that editor, so user interaction by a privileged editor is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:24Z"},"euvd":{"id":"EUVD-2025-18299","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-32974","published":"2025-04-30","fixed":"16.2.0","kev":false,"link":{"from":"CVE-2025-32974","to":"CVE-2025-49585","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-security-requiredrights-default","fromFixed":"15.10.8","toFixed":"15.10.16","daysApart":44},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-security-requiredrights-default","fromFixed":"16.2.0","toFixed":"16.4.7","daysApart":44}]}},{"cve":"CVE-2025-49585","published":"2025-06-13","fixed":"16.10.2","kev":false},{"cve":"CVE-2025-49582","published":"2025-06-13","fixed":"17.0.0","kev":false,"link":{"from":"CVE-2025-49585","to":"CVE-2025-49582","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-security-requiredrights-default","fromFixed":"16.10.2","toFixed":"16.10.3","daysApart":0}]}}],"package":"Maven:org.xwiki.platform:xwiki-platform-security-requiredrights-default"}}