{"id":"CVE-2025-49587","published":"2025-06-13T17:51:48Z","modified":"2025-06-13T18:05:28Z","title":"XWiki does not require right warnings for notification displayer objects","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki is an open-source wiki software platform. When a user without script right creates a document with an XWiki.Notifications.Code.NotificationDisplayerClass object, and later an admin edits and saves that document, the possibly malicious content of that object is output as raw HTML, allowing XSS attacks. While the notification displayer executes Velocity, the existing generic analyzer already warns admins before editing Velocity code. 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 vulnerability has been patched in XWiki 15.10.16, 16.4.7, and 16.10.2 by adding a required rights analyzer that warns the admin before editing about the possibly malicious code.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","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-j7p2-87q3-44w7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252d","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22470","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.1},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 15.9-rc-1, < 15.10.16",">= 16.0.0-rc-1, < 16.4.7",">= 16.5.0-rc-1, < 16.10.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-06-13T18:05:10.530833Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-notifications-notifiers-default","vulnerableRanges":[">=15.9-rc-1, <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-j7p2-87q3-44w7"],"provenance":"source"}],"summary":{"text":"The flaw is in XWiki's xwiki-platform, where the notification displayer object (XWiki.Notifications.Code.NotificationDisplayerClass) does not require script-right warnings before an administrator edits a document containing it, so content from a user without script right can be output as raw HTML. An attacker with low-privilege access can create such a document, and the cross-site scripting attack is triggered when an admin edits and saves it, requiring user interaction by that admin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:57Z"},"euvd":{"id":"EUVD-2025-18296","exploited":false,"provenance":"source"}}