CVE-2022-24799
JSON

9.6critical

Cross Site Scripting in Wire Webapp

Severity
9.6critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.05% (higher than 64% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

wire-webapp is the web application interface for the wire messaging service. Insufficient escaping in markdown “code highlighting” in the wire-webapp resulted in the possibility of injecting and executing arbitrary HTML code and thus also JavaScript. If a user receives and views such a malicious message, arbitrary code is injected and executed in the context of the victim. This allows the attacker to fully control the user account. Wire-desktop clients that are connected to a vulnerable wire-webapp version are also vulnerable to this attack. The issue has been fixed in wire-webapp 2022-03-30-production.0 and is already deployed on all Wire managed services. On-premise instances of wire-webapp need to be updated to docker tag 2022-03-30-production.0-v0.29.2-0-d144552 or wire-server 2022-03-30 (chart/4.8.0), so that their applications are no longer affected. There are no known workarounds for this issue. ### Patches * The issue has been fixed in wire-webapp **2022-03-30-production.0** and is already deployed on all Wire managed services. * On-premise instances of wire-webapp need to be updated to docker tag **2022-03-30-production.0-v0.29.2-0-d144552** or wire-server **2022-03-30 (chart/4.8.0)**, so that their applications are no longer affected. ### Workarounds * No workarounds known ### For more information If you have any questions or comments about this advisory feel free to email us at [vulnerability-report@wire.com](mailto:vulnerability-report@wire.com) ### Credits We thank [Posix](https://twitter.com/po6ix) for reporting this vulnerability

Affected

Product or packageVersionsReported by
wireapp wire-webapp< 2022-03-30-production.0CVE List
wire wire-webapp2016-07-29-17-00, 2016-08-04-15-44, 2016-08-23-09-31, 2016-08-24-10-10, 2016-08-29-14-54, 2016-09-08-15-38, 2016-09-19-14-01, 2016-09-28-14-58 and 42 moreNVD

All scores

GitHub_M9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

wire-webapp is the web application interface for the wire messaging service. Insufficient escaping in markdown “code highlighting” in the wire-webapp resulted in the possibility of injecting and executing arbitrary HTML code and thus also JavaScript. If a user receives and views such a malicious message, arbitrary code is injected and executed in the context of the victim. This allows the attacker to fully control the user account. Wire-desktop clients that are connected to a vulnerable wire-webapp version are also vulnerable to this attack. The issue has been fixed in wire-webapp 2022-03-30-production.0 and is already deployed on all Wire managed services. On-premise instances of wire-webapp need to be updated to docker tag 2022-03-30-production.0-v0.29.2-0-d144552 or wire-server 2022-03-30 (chart/4.8.0), so that their applications are no longer affected. There are no known workarounds for this issue. ### Patches * The issue has been fixed in wire-webapp **2022-03-30-production.0** and is already deployed on all Wire managed services. * On-premise instances of wire-webapp need to be updated to docker tag **2022-03-30-production.0-v0.29.2-0-d144552** or wire-server **2022-03-30 (chart/4.8.0)**, so that their applications are no longer affected. ### Workarounds * No workarounds known ### For more information If you have any questions or comments about this advisory feel free to email us at [vulnerability-report@wire.com](mailto:vulnerability-report@wire.com) ### Credits We thank [Posix](https://twitter.com/po6ix) for reporting this vulnerability

NVD (es)

wire-webapp es la interfaz de la aplicación web para el servicio de mensajería wire. Un escape insuficiente en el markdown "code highlighting" en la wire-webapp resultó en la posibilidad de inyectar y ejecutar código HTML arbitrario y, por tanto, también JavaScript. Si un usuario recibe y visualiza un mensaje malicioso de este tipo, es inyectado y ejecutado código arbitrario en el contexto de la víctima. Esto permite al atacante controlar completamente la cuenta del usuario. Los clientes de Wire-desktop que están conectados a una versión vulnerable de wire-webapp también son vulnerables a este ataque. El problema ha sido corregido en wire-webapp versión 2022-03-30-production.0 y ya está desplegado en todos los servicios administrados por Wire. Las instancias locales de wire-webapp deben actualizarse a docker tag 2022-03-30-production.0-v0.29.2-0-d144552 o wire-server 2022-03-30 (chart/4.8.0), para que sus aplicaciones dejen de estar afectadas. No se presentan medidas de mitigación conocidas para este problema. ### Parches * El problema ha sido corregido en wire-webapp **2022-03-30-production.0** y ya está desplegado en todos los servicios administrados por Wire. * Las instancias locales de wire-webapp deben actualizarse a la etiqueta docker **2022-03-30-production.0-v0.29.2-0-d144552** o wire-server **2022-03-30 (chart/4.8.0)**, para que sus aplicaciones ya no estén afectadas. ### Soluciones * No se conocen medidas de mitigación ### Para más información Si presenta alguna pregunta o comentario sobre este aviso no dude en enviarnos un correo electrónico a [vulnerability-report@wire.com](mailto:vulnerability-report@wire.com) ### Créditos Agradecemos a [Posix](https://twitter.com/po6ix) por informar de esta vulnerabilidad

References

Sources

SourceRecordLicence
CVE ListCVE-2022-24799 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-24799 changed 2026-06-17Public domain