CVE-2022-24799CWE-79

Cross Site Scripting in Wire Webapp

Critical · published April 20, 2022

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

🚨 A sneaky markdown issue in wire-webapp can turn innocent messages into a hacker’s playground! 🔥 Think of it like a restaurant where the chef lets anyone swap out the ingredients without checking what’s being added. One bad order could turn a delicious meal into a recipe for disaster, with the attacker gaining full control over your dining experience! An attacker could send a carefully crafted message that, when viewed, executes arbitrary HTML and JavaScript in the context of the victim. This could lead to complete account takeover, leaving sensitive information vulnerable and the user at the mercy of the hacker. Absolutely devastating!

Put simply

Think of it like a restaurant where the chef lets anyone swap out the ingredients without checking what’s being added. One bad order could turn a delicious meal into a recipe for disaster, with the attacker gaining full control over your dining experience! This vulnerability arises from insufficient escaping in markdown code highlighting within wire-webapp, which allows the injection and execution of arbitrary HTML and JavaScript code when a user views a malicious message.

What to do

An attacker could send a carefully crafted message that, when viewed, executes arbitrary HTML and JavaScript in the context of the victim. This could lead to complete account takeover, leaving sensitive information vulnerable and the user at the mercy of the hacker. Absolutely devastating! Update wire-webapp to version 2022-03-30-production.0 if you're using a managed service. For on-premise instances, update to docker tag 2022-03-30-production.0-v0.29.2-0-d144552 or wire-server 2022-03-30 (chart/4.8.0). No known workarounds exist, so these steps are crucial! You've got this! Just follow the steps and you'll lock down your application in no time! 🛡️

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.00996 · 62.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-04-20T17:55Z
EPSS history
Timeline
  • 20 APR 17:55Z
    Cross Site Scripting in Wire Webapp
    cvelistv5