Medium severity · published Jun 16, 2023
CVE-2023-2797
Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel
6.5
CVSS
0.5%
EPSS
No
On KEV
Description
Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
Mattermost · Mattermost
7.1.0 through 7.1.9; 7.8.0 through 7.8.4; 7.10.0 · source: NVD
Affected product
MA
Mattermost
Mattermost
More from Mattermost
9.9
CVE-2026-4858
Path traversal in integration action URL leading to arbitrary API execution via system admin’s auth token.
9.9
CVE-2025-12421
Account Takeover via Code Exchange Endpoint
9.9
CVE-2025-12419
Account takeover on OAuth/OpenID-enabled servers
9.9
CVE-2025-4981
Path Traversal Leading to RCE by Any Authenticated Mattermost User
9.6
CVE-2024-39777
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels…