CVE-2023-35075 HTML injection via channel autocomplete

Low 3.1 Published Updated

Attackers can inject HTML into channel names via autocomplete, potentially altering page appearance, though script execution is prevented.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-35075?

CVE-2023-35075 is a low-severity cross-site scripting vulnerability in Mattermost Mattermost, published on 27 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-74

Which versions are affected by CVE-2023-35075?

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

PackageAffectedFixed in
github.com/mattermost/mattermost-server/v6 GoAll versions7.8.13
github.com/mattermost/mattermost-server/v6 GoAll versions7.8.13
github.com/mattermost/mattermost/server/v8 GoAll versions8.1.4
github.com/mattermost/mattermost/server/v8 GoAll versions8.1.4

Products include Mattermost Mattermost.

How do I fix CVE-2023-35075?

Upgrade github.com/mattermost/mattermost-server/v6 to 7.8.13 or later.

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-2023-35075 being exploited?

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

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-jcgv-3pfq-j4hr.

Is CVE-2023-35075 in your software?

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

Check your SBOMs for free