CVE-2025-49587
MEDIUM 6.4CVSS 4.0XWiki does not require right warnings for notification displayer objects
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.
- Published
- 13 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-357
- Also known as
- GHSA-j7p2-87q3-44w7
- Sources
- NVDJSONOSV GHSA-j7p2-87q3-44w7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 15.9, < 15.10.16 | 15.10.16 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 16.0.0, < 16.4.7 | 16.4.7 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 16.5.0, < 16.10.2 | 16.10.2 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | >= 15.9-rc-1, < 15.10.16 | 15.10.16 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | >= 16.0.0-rc-1, < 16.4.7 | 16.4.7 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | >= 16.5.0-rc-1, < 16.10.2 | 16.10.2 |
References
- https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252d · Patch, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7 · Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-22470 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-49587 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 Jun 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Jun 2025)