Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting github.com/mattermost/mattermost-plugin-github package, versions <2.1.5


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTPLUGINGITHUB-5711925
  • published18 Jun 2023
  • disclosed18 Jun 2023
  • creditUnknown

Introduced: 18 Jun 2023

CVE-2023-2797  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost-plugin-github to version 2.1.5 or higher.

Overview

github.com/mattermost/mattermost-plugin-github is a GitHub plugin for Mattermost

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in the form of not sanitizing code permalinks, which allows users to preview code from private repositories by posting a specially crafted permalink on a channel.

CVSS Scores

version 3.1