Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV

GHSA-j7p2-87q3-44w7

Fix: xwiki/xwiki-platform@55c5d56

GHSA-j7p2-87q3-44w7 is a CWE-357 vulnerability in org.xwiki.platform:xwiki-platform-notifications-notifiers-default. O3 Security confirms whether GHSA-j7p2-87q3-44w7 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

XWiki does not require right warnings for notification displayer objects

Also known asCVE-2025-49587
Published
Jun 13, 2025
Updated
Jun 13, 2025
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Jun 13, 2025 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

3 pkgs affected
org.xwiki.platform:xwiki-platform-notifications-notifiers-defaultorg.xwiki.platform:xwiki-platform-notifications-notifiers-defaultorg.xwiki.platform:xwiki-platform-notifications-notifiers-default

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default15.9-rc-1&&< 15.10.1615.10.16
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default16.0.0-rc-1&&< 16.4.716.4.7
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default16.5.0-rc-1&&< 16.10.216.10.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-notifications-notifiers-default. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.xwiki.platform:xwiki-platform-notifications-notifiers-default to 15.10.16 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-j7p2-87q3-44w7 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-j7p2-87q3-44w7 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-j7p2-87q3-44w7. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### 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 carefu
O3 Security · Impact-Aware SCA

Is GHSA-j7p2-87q3-44w7 in your dependencies?

O3 detects GHSA-j7p2-87q3-44w7 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-j7p2-87q3-44w7: xwiki-platform-notificat… | O3 Security