GHSA-jcgv-3pfq-j4hr

Suggest an improvement
Source
https://github.com/advisories/GHSA-jcgv-3pfq-j4hr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-jcgv-3pfq-j4hr/GHSA-jcgv-3pfq-j4hr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jcgv-3pfq-j4hr
Aliases
Related
Published
2023-11-27T12:30:54Z
Modified
2024-07-15T22:12:26.391425Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Mattermost Injection vulnerability
Details

Mattermost fails to use innerText / textContent when setting the channel name in the webapp during autocomplete, allowing an attacker to inject HTML to a victim's page by create a channel name that is valid HTML. No XSS is possible though.

Database specific
{
    "nvd_published_at": "2023-11-27T10:15:07Z",
    "cwe_ids": [
        "CWE-74"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2023-11-28T20:50:03Z"
}
References

Affected packages

Go / github.com/mattermost/mattermost/server/v8

Package

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

Affected ranges

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

Go / github.com/mattermost/mattermost-server/v6

Package

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

Affected ranges

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