GHSA-cffj-7w5c-jqjh

Suggest an improvement
Source
https://github.com/advisories/GHSA-cffj-7w5c-jqjh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cffj-7w5c-jqjh/GHSA-cffj-7w5c-jqjh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cffj-7w5c-jqjh
Aliases
Published
2022-05-24T17:21:00Z
Modified
2025-11-05T19:57:11.458958Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
Mattermost Server vulnerable to Cross-site Scripting through file preview feature
Details

An issue was discovered in Mattermost Server before 3.5.1. XSS can occur via file preview.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": "2020-06-19T20:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed_at": "2025-10-21T22:25:35Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cffj-7w5c-jqjh/GHSA-cffj-7w5c-jqjh.json"