{"cve":"CVE-2025-49587","nvd":{"published":"2025-06-13T18:15:22.880","modified":"2026-06-17T09:31:32.553","status":"Analyzed","description":"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.","cvss_v4":{"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},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8.0},"cwes":["CWE-357"],"references":["https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252d","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7","https://jira.xwiki.org/browse/XWIKI-22470"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-49587","score":0.00438,"percentile":0.38091,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j7p2-87q3-44w7","url":"https://osv.dev/vulnerability/GHSA-j7p2-87q3-44w7","summary":"XWiki does not require right warnings for notification displayer objects","modified":"2025-06-13T21:12:18.096804Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-notifications-notifiers-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default","ranges":[">=15.9-rc-1 <15.10.16"],"fixed":["15.10.16"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-notifications-notifiers-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default","ranges":[">=16.0.0-rc-1 <16.4.7"],"fixed":["16.4.7"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-notifications-notifiers-default","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default","ranges":[">=16.5.0-rc-1 <16.10.2"],"fixed":["16.10.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}