Loading HuntDB...

CVE-2025-49587

UNKNOWN
Published 2025-06-13T17:51:48.163Z
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2025-49587. We'll provide specific mitigation strategies based on your environment and risk profile.

No CVSS data available

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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

Affected Products

EU Vulnerability Database

Monitored by ENISA for EU cybersecurity

EU Coordination

Not EU Coordinated

Exploitation Status

No Known Exploitation

ENISA Analysis

XWiki does not require right warnings for notification displayer objects

Affected Products (ENISA)

xwiki
xwiki-platform

ENISA Scoring

CVSS Score (4.0)

6.4
/10
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

EPSS Score

0.030
probability

Data provided by ENISA EU Vulnerability Database. Last updated: June 13, 2025

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed MODERATE

XWiki does not require right warnings for notification displayer objects

GHSA-j7p2-87q3-44w7

Advisory Details

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

Affected Packages

Maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default
ECOSYSTEM: ≥15.9-rc-1 <15.10.16
Maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default
ECOSYSTEM: ≥16.0.0-rc-1 <16.4.7
Maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default
ECOSYSTEM: ≥16.5.0-rc-1 <16.10.2

CVSS Scoring

CVSS Score

5.0

CVSS 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

Advisory provided by GitHub Security Advisory Database. Published: June 13, 2025, Modified: June 13, 2025

References

Published: 2025-06-13T17:51:48.163Z
Last Modified: 2025-06-13T17:51:48.163Z
Copied to clipboard!