Skip to content
XSS Write-up Intermediate

Accidentally Finding RCE in Signal Desktop via HTML Injection in Quoted Replies

Signal Desktop rendered the text of a quoted reply as raw HTML, allowing an attacker to inject markup that executed JavaScript. This could lead to remote code execution on the victim's machine.

thehackerblog.com

Published on thehackerblog.com

If you’re a concerned Signal user please update to the latest version of Signal Desktop (fixed in version v1.11.0) which addresses all of these issues. Note that the mobile apps for Signal were not affected by this issue.

The author, on thehackerblog.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary JavaScript, leading to remote code execution on the victim's machine.

What the attacker needed

Signal Desktop version 1.8.0 or later; Victim receives a message with HTML markup; Victim replies with a quoted reply

How it was found

  1. Create a message containing HTML markup.
  2. Reply to that message with a quoted reply.
  3. The original markup is evaluated as HTML.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Signal Desktop is a messaging app. When you reply to a message with a quote, the app showed the quoted text as web page code instead of plain text. This let an attacker run their own code on your computer just by sending you a message.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.