CVE-2022-1002 HTML Injection while inviting Guests
Registered users can inject HTML into guest invitation emails, potentially leading to script execution or account takeover.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-1002?
CVE-2022-1002 is a low-severity cross-site scripting vulnerability in Mattermost Mattermost, published on 18 Mar 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, which allows registered users with special permissions to invite guest users to inject unescaped HTML content in the email invitations.
Which versions are affected by CVE-2022-1002?
It affects 1 product.
Products include Mattermost Mattermost.
How do I fix CVE-2022-1002?
No fix has been published for CVE-2022-1002 yet. Limit exposure of the affected software until one is available.
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-2022-1002 being exploited?
There is no known exploitation of CVE-2022-1002 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-wmx6-cwpq-6j42.