CVE-2025-13321: Mattermost desktop Mattermost Desktop App Exposes Sensitive Vulnerability

LOW
Advisory Identifier: GHSA-g6qx-wq5w-wr8v
CVSS 3.3
CWE-532
Published
Advisory Summary

CVE-2025-13321 is a LOW (CVSS 3.3) mattermost desktop app exposes sensitive vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Mattermost desktop libraries in the npm ecosystem. The issue involves mattermost desktop app exposes sensitive information in its application logs. Remediation is available in the latest vendor maintenance releases.

CVE-2025-13321 at a Glance

CVE Identifier CVE-2025-13321
GHSA Identifier GHSA-g6qx-wq5w-wr8v
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Mattermost desktop
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 3.3

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

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

How to Fix CVE-2025-13321

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

mattermost-desktop fixed: Latest secure release
npm install mattermost-desktop@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls mattermost-desktop

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-13321, inspect your project dependencies using npm:

npm ls mattermost-desktop

Analyze the terminal output to locate any version of Mattermost desktop 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 npm ls mattermost-desktop command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Mattermost desktop, 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

Mattermost Desktop App versions < 6.0.0 fail to sanitize sensitive information from Mattermost logs and clear data on server deletion which allows an attacker with access to the users system to gain access to potentially sensitive information via reading the application logs. A fix is available for direct download via the [Mattermost Desktop](https://github.com/mattermost/desktop/releases/tag/v6.0.0) repository, but it has not been uploaded to the npm registry at time of publication.

CVE-2025-13321 Affected Mattermost desktop Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
mattermost-desktop
npm
≤ 3.6.0

References

Frequently Asked Questions

What is CVE-2025-13321?
CVE-2025-13321 is a security vulnerability in Mattermost desktop involving Mattermost Desktop App exposes sensitive information in its application logs under CWE-532: Insertion of Sensitive Information into Log File.
Which Mattermost desktop versions are affected?
Affected versions include releases prior to current release patches across affected packages: mattermost-desktop.
What version fixes CVE-2025-13321?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is mattermost-desktop affected?
Yes, mattermost-desktop 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-13321?
CVE-2025-13321 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-13321?
CVE-2025-13321 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check npm dependencies for CVE-2025-13321?
Run the dependency tree command: 'npm ls mattermost-desktop'. 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-g6qx-wq5w-wr8v",
  "modified" : "2025-12-19T18:56:35Z",
  "published" : "2025-12-17T21:30:48Z",
  "aliases" : [ "CVE-2025-13321" ],
  "summary" : "Mattermost Desktop App exposes sensitive information in its application logs",
  "details" : "Mattermost Desktop App versions < 6.0.0 fail to sanitize sensitive information from Mattermost logs and clear data on server deletion which allows an attacker with access to the users system to gain access to potentially sensitive information via reading the application logs.\n\nA fix is available for direct download via the [Mattermost Desktop](https://github.com/mattermost/desktop/releases/tag/v6.0.0) repository, but it has not been uploaded to the npm registry at time of publication.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "mattermost-desktop"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13321"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mattermost/desktop/commit/722938bb6a97e8b8a5678e6858e44c4d505c08ee"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mattermost/mattermost"
  }, {
    "type" : "WEB",
    "url" : "https://mattermost.com/security-updates"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-19T18:56:35Z",
    "nvd_published_at" : "2025-12-17T19:16:00Z"
  }
}