CVE-2022-29168CWE-79CWE-80

Cross Site Scripting in Wire Messages

Critical · published June 25, 2022

CVSS v3.1
9.6
EPSS
1%
Percentile
57.3
In the wild
Unconfirmed
What it is

🚨 A crafty message could be your undoing! Wire's vulnerable to arbitrary code execution when rendering `@mentions`, allowing attackers to seize full control of user accounts. 🔥 Think of it like a trusted friend slipping a dangerous note into your mailbox — once you read it, the sneaky message sets off a chain reaction that lets the sender manipulate everything in your life. 📬 This vulnerability could allow attackers to execute arbitrary JavaScript in the victim's context, leading to a full hijack of their account. They could read sensitive conversations, send messages on your behalf, and even alter your settings — utterly devastating!

Put simply

Think of it like a trusted friend slipping a dangerous note into your mailbox — once you read it, the sneaky message sets off a chain reaction that lets the sender manipulate everything in your life. 📬 The flaw lies in insufficient escaping of HTML and JavaScript when processing `@mentions`, enabling malicious code execution through messages viewed by users. Both the web and desktop clients are at risk if connected to the affected version of Wire's web app.

What to do

This vulnerability could allow attackers to execute arbitrary JavaScript in the victim's context, leading to a full hijack of their account. They could read sensitive conversations, send messages on your behalf, and even alter your settings — utterly devastating! To safeguard your accounts, upgrade your Wire-webapp to version 2022-05-04-production.0 or later. If you manage on-premise instances, make sure to update to the specified docker tag or wire-server version. Staying updated is your best defense! You've got this! With these updates, you'll keep your messaging secure and your accounts safe! 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00837 · 57.3th percentile
Weaknesses
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-80 · Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Published
2022-06-25T07:05Z
EPSS history
Timeline
  • 25 JUN 07:05Z
    Cross Site Scripting in Wire Messages
    cvelistv5