CVE-2025-49587
highpriority · track · 32EPSS 0.004 · 38 %ileDEEURUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 2.5–8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default15.9-rc-1 → 15.10.16osvUSpkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default
- Maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default16.0.0-rc-1 → 16.4.7osvUSpkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default
- Maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default16.5.0-rc-1 → 16.10.2osvUSpkg:maven/org.xwiki.platform/xwiki-platform-notifications-notifiers-default
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1324xwiki: Mehrere SchwachstellenDeutsch2025-06-12csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in xwiki ausnutzen, um seine Privilegien zu erhöhen, beliebigen Programmcode auszuführen, Informationen auszuspähen, Cross-Site-Scripting auszuführen oder weitere nicht spezifizierte Auswirkungen zu erzielen.
- GHSA-j7p2-87q3-44w7XWiki does not require right warnings for notification displayer objects2025-06-13ghsa · osvUS
### Impact 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. ### Patches 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. ### Workarounds We'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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-49587cnnvd
- https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252dcnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7cnnvd
- https://jira.xwiki.org/browse/XWIKI-22470cnnvd
- https://www.xwiki.org/xwiki/bin/view/Download/Patchcnnvd
- https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252denisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7enisa_euvd
- https://jira.xwiki.org/browse/XWIKI-22470enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan