VDB
Sign up
LOW3.7

GHSA-h3gq-j7p9-x3p4

Mattermost Cross-site Scripting vulnerability

Quick fix

GHSA-h3gq-j7p9-x3p4 — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost/server/v8@v8.1.7

Details

Mattermost version 8.1.6 and earlier fails to sanitize channel mention data in posts, which allows an attacker to inject markup in the web client.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/mattermost/mattermost/server/v8
Introduced in: 0Fixed in: 8.1.7
Fixgo get github.com/mattermost/mattermost/server/v8@v8.1.7

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/mattermost/mattermost/server/v8"]}'