CVE-2016-11083 Mattermost Server: Files may be rendered inline instead of downloaded, allowing script execution

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in a victim's browser by exploiting how Mattermost Server configures file opening behavior.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-11083?

CVE-2016-11083 is a medium-severity cross-site scripting vulnerability in Mattermost Mattermost Server, published on 19 Jun 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in Mattermost Server before 2.2.0. It allows XSS because it configures files to be opened in a browser window.

Weakness: CWE-79

Which versions are affected by CVE-2016-11083?

3 open source packages ship an affected version, including github.com/mattermost/mattermost-server. It affects 1 product.

PackageAffectedFixed in
github.com/mattermost/mattermost-server GoAll versions2.2.0
github.com/mattermost/mattermost-server GoAll versions2.2.0
github.com/mattermost/mattermost-server GoAll versions2.2.0+incompatible

Products include Mattermost Mattermost Server.

How do I fix CVE-2016-11083?

Upgrade github.com/mattermost/mattermost-server to a fixed version for your release line: 2.2.0 or 2.2.0+incompatible.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2016-11083 being exploited?

There is no known exploitation of CVE-2016-11083 in the wild and no public exploit code.

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as GHSA-rm24-25xm-9454, GO-2025-4065.

Is CVE-2016-11083 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free