{"id":"CVE-2025-49587","aliases":["CVE-2025-49587","GHSA-j7p2-87q3-44w7"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki does not require right warnings for notification displayer objects","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nWhen 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.\n\n### Patches\nThis 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.\n\n### Workarounds\nWe're not aware of any real workarounds apart from just being careful with editing documents previously edited by untrusted users as a user with script, admin or programming right.","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki es una plataforma de software wiki de código abierto. Cuando un usuario sin permisos de script crea un documento con un objeto XWiki.Notifications.Code.NotificationDisplayerClass y posteriormente un administrador lo edita y lo guarda, el contenido posiblemente malicioso de dicho objeto se muestra como HTML sin formato, lo que permite ataques XSS. Mientras el visualizador de notificaciones ejecuta Velocity, el analizador genérico existente ya advierte a los administradores antes de editar el código de Velocity. Tenga en cuenta que las advertencias antes de editar documentos con propiedades peligrosas solo se introdujeron en XWiki 15.9; antes de esa versión, este era un problema conocido y la recomendación era simplemente tener cuidado. Esta vulnerabilidad se ha corregido en XWiki 15.10.16, 16.4.7 y 16.10.2 añadiendo un analizador de permisos requerido que advierte al administrador sobre el posible código malicioso antes de editar.","source":"nvd"}],"published":"2025-06-13T17:51:48.163Z","modified":"2026-06-17T09:31:32.553Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"}],"cwes":["CWE-357"],"affected":[{"ranges":[{"version":">= 15.9-rc-1, < 15.10.16","status":"affected"},{"version":">= 16.0.0-rc-1, < 16.4.7","status":"affected"},{"version":">= 16.5.0-rc-1, < 16.10.2","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"15.9-rc-1","status":"affected","fixed":"15.10.16"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-notifications-notifiers-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"16.0.0-rc-1","status":"affected","fixed":"16.4.7"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-notifications-notifiers-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"16.5.0-rc-1","status":"affected","fixed":"16.10.2"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-notifications-notifiers-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"15.9","fixed":"15.10.16"},{"status":"affected","introduced":"16.0.0","fixed":"16.4.7"},{"status":"affected","introduced":"16.5.0","fixed":"16.10.2"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252d","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22470","tags":["exploit","issue-tracking","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49587","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-06-13T18:05:10.530Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-49587","url":"https://www.cve.org/CVERecord?id=CVE-2025-49587","licence":"CVE Terms of Use","modified":"2025-06-13T18:05:28.952Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j7p2-87q3-44w7","url":"https://github.com/advisories/GHSA-j7p2-87q3-44w7","licence":"CC-BY-4.0","modified":"2025-06-13T21:12:18.096Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-49587","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49587","licence":"Public domain","modified":"2026-06-17T09:31:32.553Z"}],"updatedAt":"2026-11-25T22:58:59.211Z","epss":{"score":0.00457,"percentile":0.41357,"date":"2026-12-01T12:00:22.000Z"}}