CVE-2025-13321: Mattermost desktop Mattermost Desktop App Exposes Sensitive Vulnerability
LOWCVE-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
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).
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.
npm install mattermost-desktop@Latest secure release
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
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?
Which Mattermost desktop versions are affected?
What version fixes CVE-2025-13321?
Is mattermost-desktop affected?
What is the CVSS score of CVE-2025-13321?
What CWE is associated with CVE-2025-13321?
How can I check npm dependencies for CVE-2025-13321?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}