CVE-2023-35075 HTML injection via channel autocomplete
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/mattermost/mattermost-server/v6 Go | All versions | 7.8.13 |
github.com/mattermost/mattermost-server/v6 Go | All versions | 7.8.13 |
github.com/mattermost/mattermost/server/v8 Go | All versions | 8.1.4 |
github.com/mattermost/mattermost/server/v8 Go | All versions | 8.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.
Other vulnerabilities in Mattermost Mattermost
- CVE-2019-20851 Path traversal in n/a
- CVE-2024-39274 Malicious remote can add users to arbitrary teams and channels
- CVE-2024-39777 Malicious remote can invite itself to an arbitrary local channel
- CVE-2024-39830 Timing attack during remote cluster token comparison when shared channels are enabled
- CVE-2023-3615 Lack of server certificate validation in websockets connection
Sources
Also known as GHSA-jcgv-3pfq-j4hr.