Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-messagestream

PACKAGE
Advisory Identifier: GHSA-42fh-pvvh-999x
Advisory Summary

CVE-2025-32783 is a MODERATE (CVSS 4.7) unregistered users can see "public" vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Xwiki platform messagestream libraries in the Maven ecosystem. The issue involves unregistered users can see "public" messages from a closed wiki via notifications from a different wiki. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.platform/xwiki-platform-messagestream

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-messagestream. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-42fh-pvvh-999x CVE-2025-32783 MODERATE Unregistered users can see "public" messages from a closed wiki via notifications from a different wiki

CVE-2025-32783 at a Glance

CVE Identifier CVE-2025-32783
GHSA Identifier GHSA-42fh-pvvh-999x
Severity MODERATE
CVSS v3.1 Base Score 4.7
CWE Classification CWE-668: Exposure of Resource to Wrong Sphere
Affected Product Xwiki platform messagestream
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-32783

To remediate this vulnerability, upgrade all affected Xwiki platform messagestream dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.xwiki.platform:xwiki-platform-messagestream fixed: Latest secure release
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-messagestream</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

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-2025-32783, 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 messagestream in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Xwiki platform messagestream, 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

### Impact This vulnerability impacts users of a subwiki of XWiki where Message Stream is enabled and use, if they configured their wiki to be closed by selecting "Prevent unregistered users to view pages" in the Administrations Rights. The vulnerability is that any message sent in a subwiki to "everyone" is actually sent to the farm: any visitor of the main wiki will be able to see that message through the Dashboard, even if the subwiki is configured to be private. ### Patches This problem has not been patched and is not going to be patched in the future: Message Stream has been deprecated in XWiki 16.8.0RC1 and is not maintained anymore. ### Workarounds Message Stream is disabled by default, it's advised to keep it disabled from Administration > Social > Message Stream. ### References * https://jira.xwiki.org/browse/XWIKI-17154

CVE-2025-32783 Affected Xwiki platform messagestream Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-messagestream
Maven
≥ 5.0
≤ 16.7.1

References

Frequently Asked Questions

What is CVE-2025-32783?
CVE-2025-32783 is a security vulnerability in Xwiki platform messagestream involving Unregistered users can see "public" messages from a closed wiki via notifications from a different wiki under CWE-668: Exposure of Resource to Wrong Sphere.
Which Xwiki platform messagestream versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.xwiki.platform:xwiki-platform-messagestream.
What version fixes CVE-2025-32783?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-messagestream affected?
Yes, org.xwiki.platform:xwiki-platform-messagestream is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-32783?
CVE-2025-32783 has a CVSS v3.1 base score of 4.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2025-32783?
CVE-2025-32783 is classified under CWE-668: Exposure of Resource to Wrong Sphere (The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.).
How can I check Maven dependencies for CVE-2025-32783?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-42fh-pvvh-999x",
  "modified" : "2025-04-17T12:39:18Z",
  "published" : "2025-04-16T15:33:35Z",
  "aliases" : [ "CVE-2025-32783" ],
  "summary" : "Unregistered users can see \"public\" messages from a closed wiki via notifications from a different wiki",
  "details" : "### Impact\n\nThis vulnerability impacts users of a subwiki of XWiki where Message Stream is enabled and use, if they configured their wiki to be closed by selecting \"Prevent unregistered users to view pages\" in the Administrations Rights. \n\nThe vulnerability is that any message sent in a subwiki to \"everyone\" is actually sent to the farm: any visitor of the main wiki will be able to see that message through the Dashboard, even if the subwiki is configured to be private.\n\n### Patches\n\nThis problem has not been patched and is not going to be patched in the future: Message Stream has been deprecated in XWiki 16.8.0RC1 and is not maintained anymore. \n\n### Workarounds\n\nMessage Stream is disabled by default, it's advised to keep it disabled from Administration > Social > Message Stream.\n\n### References\n\n  * https://jira.xwiki.org/browse/XWIKI-17154",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-messagestream"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0"
      }, {
        "last_affected" : "16.7.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-42fh-pvvh-999x"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32783"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki/xwiki-platform"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/XWIKI-17154"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-668" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-16T15:33:35Z",
    "nvd_published_at" : "2025-04-16T22:15:14Z"
  }
}