GitHub Advisory Database
GHSA-jcgv-3pfq-j4hr
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.1.4 (fixed in 8.1.4) |
| Go | github.com/mattermost/mattermost-server/v6 | All versions before 7.8.13 (fixed in 7.8.13) |