Skip to main content

CVE-2025-49587 — Vulnerability in xwiki-platform-no…rs-default

MEDIUM

XWiki does not require right warnings for notification displayer objects

Published June 13, 2025Updated June 13, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.63%). Schedule for your next planned update.

Does your project use an affected org.xwiki.platform:xwiki-platform-notifications-notifiers-default version?

Paste your pom.xml to check it for CVE-2025-49587 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

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.

Advisory Timeline

  • First published June 13, 2025 (531 days ago).
  • Last revised June 13, 2025 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.platform:xwiki-platform-notifications-notifiers-default to 15.10.16 or later
<!-- Update pom.xml dependency version to 15.10.16 for org.xwiki.platform:xwiki-platform-notifications-notifiers-default -->
Maven
Update org.xwiki.platform:xwiki-platform-notifications-notifiers-default to 16.4.7 or later
<!-- Update pom.xml dependency version to 16.4.7 for org.xwiki.platform:xwiki-platform-notifications-notifiers-default -->
Maven
Update org.xwiki.platform:xwiki-platform-notifications-notifiers-default to 16.10.2 or later
<!-- Update pom.xml dependency version to 16.10.2 for org.xwiki.platform:xwiki-platform-notifications-notifiers-default -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.xwiki.platform:xwiki-platform-notifications-notifiers-default Maven · Affected: All versions15.10.16
org.xwiki.platform:xwiki-platform-notifications-notifiers-default Maven · Affected: All versions16.4.7
org.xwiki.platform:xwiki-platform-notifications-notifiers-default Maven · Affected: All versions16.10.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2025-49587?
XWiki does not require right warnings for notification displayer objects. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.0/10).
How do I check if my project is affected by CVE-2025-49587?
CVE-2025-49587 affects org.xwiki.platform:xwiki-platform-notifications-notifiers-default. It has a 1.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-49587 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.0

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.63%
EPSS percentile: 76.5

This places it in the top quartile of EPSS-scored vulnerabilities — 76.5% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-j7p2-87q3-44w7

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml