GHSA-498j-wxww-j897

Suggest an improvement
Source
https://github.com/advisories/GHSA-498j-wxww-j897
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-498j-wxww-j897/GHSA-498j-wxww-j897.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-498j-wxww-j897
Aliases
Published
2022-05-24T17:21:03Z
Modified
2025-12-09T17:57:31.733155Z
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
Summary
Mattermost Server is vulnerable to XSS through author_link field in Slack attachments
Details

An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2. XSS could occur via the author_link field of a Slack attachment.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed_at": "2025-12-05T15:11:38Z",
    "nvd_published_at": "2020-06-19T19:15:00Z",
    "severity": "MODERATE",
    "github_reviewed": true
}
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
4.1.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-498j-wxww-j897/GHSA-498j-wxww-j897.json"
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
4.2.0
Fixed
4.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-498j-wxww-j897/GHSA-498j-wxww-j897.json"
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
4.3.0-rc1
Fixed
4.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-498j-wxww-j897/GHSA-498j-wxww-j897.json"