CVE-2025-20621
JSON

6.5medium

Webapp crash via object that can't be cast to String in Attachment Field

Severity
6.5medium CVSS:3.1 by Mattermost
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-w6xh-c82w-h997GO-2025-3407

Description

Mattermost versions 10.2.x <= 10.2.0, 9.11.x <= 9.11.5, 10.0.x <= 10.0.3, 10.1.x <= 10.1.3 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the webapp to crash via creating and sending such a post to a channel.

Affected

Product or packageVersionsReported by
Mattermost Mattermostfrom 10.2.0 up to 10.2.0, from 9.11.0 up to 9.11.5, from 10.0.0 up to 10.0.3, from 10.1.0 up to 10.1.3
Not affected: 10.3.0, 2.23.0, 10.2.1, 9.11.6, 10.0.4, 10.1.4
CVE List
github.com/mattermost/mattermost/server/v8 (Go)from 10.2.0 before 10.2.1, from 10.1.0 before 10.1.4, from 10.0.0 before 10.0.4, from 9.11.0 before 9.11.6, before 8.0.0-20241127161322-25ff7a3779a5GitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)from 9.11.0+incompatible before 9.11.6+incompatible, from 10.0.0+incompatible before 10.0.4+incompatible, from 10.1.0+incompatible before 10.1.4+incompatible, from 10.2.0+incompatible before 10.2.1+incompatibleGo Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 9.11.0 before 9.11.6, from 10.0.0 before 10.0.4, from 10.1.0 before 10.1.4, 10.2.0NVD

All scores

Mattermost6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Mattermost versions 10.2.x <= 10.2.0, 9.11.x <= 9.11.5, 10.0.x <= 10.0.3, 10.1.x <= 10.1.3 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the webapp to crash via creating and sending such a post to a channel.

Go Vulnerability Database

Mattermost webapp crash via a crafted post in github.com/mattermost/mattermost-server

NVD (es)

Las versiones de Mattermost 10.2.x &lt;= 10.2.0, 9.11.x &lt;= 9.11.5, 10.0.x &lt;= 10.0.3, 10.1.x &lt;= 10.1.3 no gestionan adecuadamente las publicaciones con archivos adjuntos que contienen campos que no se pueden convertir a una cadena, lo que permite a un atacante hacer que la aplicación web se bloquee al crear y enviar dicha publicación a un canal.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-20621 changed 2025-01-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-w6xh-c82w-h997 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3407 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-20621 changed 2026-06-17Public domain