# CVE-2024-46978: Missing checks for notification filter preferences editions in XWiki Platform

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.96% (percentile 60, 2026-11-28)
- **CWE:** CWE-648
- **Aliases:** GHSA-r95w-889q-x2gx
- **Published:** 2024-09-18T14:26:16.000Z
- **Modified:** 2026-06-17T07:56:18.227Z

## Who should check

- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-notifications-ui (\>= 13.2-rc-1, \< 14.10.21)
- Anyone running xwiki-platform \>= 13.2-rc-1, \< 14.10.21; \>= 15.0.0, \< 15.5.5; \>= 15.6.0, \< 15.10.1

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible for any user knowing the ID of a notification filter preference of another user, to enable/disable it or even delete it. The impact is that the target user might start loosing notifications on some pages because of this. This vulnerability is present in XWiki since 13.2-rc-1. This vulnerability has been patched in XWiki 14.10.21, 15.5.5, 15.10.1, 16.0-rc-1. The patch consists in checking properly the rights of the user before performing any action on the filters. Users are advised to upgrade. It's possible to fix manually the vulnerability by editing the document \`XWiki.Notifications.Code.NotificationPreferenceService\` to apply the changes performed in commit e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4.

## Affected and fixed versions

- Maven `org.xwiki.platform:xwiki-platform-notifications-ui`: affected \>= 13.2-rc-1, \< 14.10.21; fixed 14.10.21, 15.5.5, 15.10.1 (osv)
- xwiki-platform: \>= 13.2-rc-1, \< 14.10.21; \>= 15.0.0, \< 15.5.5; \>= 15.6.0, \< 15.10.1 (cvelist)

## Mitigation

- Upgrade org.xwiki.platform:xwiki-platform-notifications-ui to one of 14.10.21, 15.5.5, 15.10.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46978. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46978.md
Affected: org.xwiki.platform:xwiki-platform-notifications-ui >= 13.2-rc-1, < 14.10.21
Fixed in: 14.10.21, 15.5.5, 15.10.1

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-notifications-ui (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46978 being exploited?

There is no confirmed exploitation: CVE-2024-46978 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.96% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-46978?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-46978?

org.xwiki.platform:xwiki-platform-notifications-ui \>= 13.2-rc-1, \< 14.10.21.

### Is there a fix for CVE-2024-46978?

Yes. Fixed in 14.10.21, 15.5.5, 15.10.1. Upgrade org.xwiki.platform:xwiki-platform-notifications-ui to one of 14.10.21, 15.5.5, 15.10.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-46978?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r95w-889q-x2gx>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-46978>
- patch: <https://github.com/xwiki/xwiki-platform/commit/e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4>
- patch: <https://github.com/xwiki/xwiki-platform/commit/4771573dac88e0cf04e30f1a8dfa183c048d503a>
- patch: <https://github.com/xwiki/xwiki-platform/commit/99193a7e9a203b5bb8b2583ac96f5f4d56b9aa1a>
- patch: <https://github.com/xwiki/xwiki-platform/commit/b9180b874a22e383ad5f2cd9e25bfed4594d4955>
- exploit: <https://jira.xwiki.org/browse/XWIKI-20337>
- other: <https://github.com/xwiki/xwiki-platform>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46978>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r95w-889q-x2gx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-46978> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46978>
