Home / Companies / Sonar / Blog / Post Details
Content Deep Dive

Code Vulnerabilities Put Skiff Emails at Risk

Blog post from Sonar

Post Details
Company
Date Published
Author
Paul Gerste
Word Count
1,934
Company Posts That Month
16
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Sonar Research team discovered critical code vulnerabilities in multiple encrypted email solutions, including Proton Mail, Skiff, and Tutanota. The vulnerabilities were found in the web clients of these services, which allowed attackers to steal emails and impersonate victims if they interacted with malicious messages. The team found a Cross-Site Scripting (XSS) vulnerability in Skiff's web client that made it possible for attackers to bypass the service's sanitization process and insert arbitrary HTML into the page. This vulnerability was exploited by sending an email with an attachment that caused a blob URL to be created, which was then used to send a follow-up email with a link that opened the blob URL in a new tab, allowing the attacker to bypass the Content Security Policy (CSP) and execute arbitrary JavaScript in the context of the Skiff web application. The vulnerability was fixed by moving the sanitizer pass after all modifications to ensure the final HTML is safe, and the team provided recommendations for avoiding similar issues in code, including sanitizing on the client instead of the server, using state-of-the-art sanitizers, and not modifying data after sanitization.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.