Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui
PACKAGECVE-2024-46978 is a HIGH (CVSS 6.5) xwiki-platform-notifications-ui is missing checks for vulnerability (CWE-648: Incorrect Use of Privileged APIs) affecting Xwiki platform notifications ui libraries in the Maven ecosystem. The issue involves xwiki-platform-notifications-ui is missing checks for notification filter preferences editions. Remediation is available by upgrading affected packages to version 14.10.21, 15.5.5, 15.10.1.
pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui
Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-notifications-ui. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-r95w-889q-x2gx | CVE-2024-46978 | HIGH | org.xwiki.platform:xwiki-platform-notifications-ui is missing checks for notification filter preferences editions |
| GHSA-pg4m-3gp6-hw4w | CVE-2024-46979 | MODERATE | org.xwiki.platform:xwiki-platform-notifications-ui leaks data of notification filters of users |
| GHSA-94pf-92hw-2hjc | CVE-2023-36469 | CRITICAL | XWiki Platform vulnerable to Code injection through NotificationRSSService |
| GHSA-p9mj-v5mf-m82x | CVE-2023-29210 | CRITICAL | org.xwiki.platform:xwiki-platform-notifications-ui Eval Injection vulnerability |
CVE-2024-46978 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2024-46978
To remediate this vulnerability, upgrade all affected Xwiki platform notifications ui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-notifications-ui</artifactId>
<version>14.10.21</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-notifications-ui</artifactId>
<version>15.5.5</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-notifications-ui</artifactId>
<version>15.10.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.xwiki.platform
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-46978, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.xwiki.platform
Analyze the terminal output to locate any version of Xwiki platform notifications ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.10.21), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-648: Incorrect Use of Privileged APIs, where the product does not conform to the api requirements for a function call that requires extra privileges. this could allow attackers to gain privileges by causing the function to be called incorrectly. In Xwiki platform notifications ui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-46978 Affected Xwiki platform notifications ui Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.platform:xwiki-platform-notifications-ui
|
Maven |
≥ 13.2-rc-1
< 14.10.21
|
14.10.21
|
|
org.xwiki.platform:xwiki-platform-notifications-ui
|
Maven |
≥ 15.0-rc-1
< 15.5.5
|
15.5.5
|
|
org.xwiki.platform:xwiki-platform-notifications-ui
|
Maven |
≥ 15.6-rc-1
< 15.10.1
|
15.10.1
|
References
Frequently Asked Questions
What is CVE-2024-46978?
Which Xwiki platform notifications ui versions are affected?
What version fixes CVE-2024-46978?
Is xwiki-platform-notifications-ui affected?
What is the CVSS score of CVE-2024-46978?
What CWE is associated with CVE-2024-46978?
How can I check Maven dependencies for CVE-2024-46978?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r95w-889q-x2gx",
"modified" : "2024-11-18T16:27:14Z",
"published" : "2024-09-18T14:26:16Z",
"aliases" : [ "CVE-2024-46978" ],
"summary" : "org.xwiki.platform:xwiki-platform-notifications-ui is missing checks for notification filter preferences editions",
"details" : "### Impact\n\nIt'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.\nThis vulnerability is present in XWiki since 13.2-rc-1. \n\n### Patches\n\nThe 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. \n\n### Workarounds\n\nIt's possible to fix manually the vulnerability by editing the document `XWiki.Notifications.Code.NotificationPreferenceService` to apply the changes performed in this commit e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4.\n\n### References\n\n * JIRA ticket: https://jira.xwiki.org/browse/XWIKI-20337\n * Commit: e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)\n\n### Attribution\n\nThis vulnerability has been reported on Intigriti by @floerer",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-notifications-ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "13.2-rc-1"
}, {
"fixed" : "14.10.21"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-notifications-ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0-rc-1"
}, {
"fixed" : "15.5.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-notifications-ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.6-rc-1"
}, {
"fixed" : "15.10.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-r95w-889q-x2gx"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-46978"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/4771573dac88e0cf04e30f1a8dfa183c048d503a"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/99193a7e9a203b5bb8b2583ac96f5f4d56b9aa1a"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/b9180b874a22e383ad5f2cd9e25bfed4594d4955"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/e8acc9d8e6af7dfbfe70716ded431642ae4a6dd4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-platform"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-20337"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-648" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-18T14:26:16Z",
"nvd_published_at" : "2024-09-18T18:15:06Z"
}
}