HTML Injection in KMail's Plain Text Viewer

kdepimlibs Updated 02 Oct 2025

Summary

22/10/2016
N/A
Yes i
Unrated
Not published

DLA-673-1: kdepimlibs - security update. Affects kdepimlibs versions < 4:4.8.4-2+deb7u1. Fixed in 4:4.8.4-2+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Kdepimlibs is a set of libraries that provide functionality for KDE PIM (Personal Information Management) applications. It includes components for email, contacts, calendars, and other PIM-related tasks. KMail is the email client of the KDE PIM suite. The plain text viewer in KMail allows users to view plain text emails without rendering HTML content. However, a vulnerability in the input sanitization of the plain text viewer allows attackers to inject HTML code into the viewer.

Vulnerability Detail

The vulnerability in KMail's plain text viewer arises from insufficient input sanitization. Attackers can exploit this by injecting malicious HTML code into plain text emails, potentially leading to the exploitation of other vulnerabilities in the HTML viewer code. It is important to note that the HTML viewer is disabled by default, but enabling it could expose the system to further risks.

How To Fix

Minimum fixed version

4:4.8.4-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade kdepimlibs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, users can disable the HTML viewer in KMail to prevent the exploitation of this vulnerability. This can be done by ensuring that the HTML viewer is not enabled in the email client's settings.

Conclusion

The HTML injection vulnerability in KMail's plain text viewer can be addressed by upgrading the kdepimlibs package to the recommended version. Additionally, users can disable the HTML viewer as a workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for kdepimlibs →

Share this vulnerability

FAQ

Kdepimlibs is a set of libraries for KDE PIM applications, providing functionality for email, contacts, calendars, and more.

The vulnerability allows attackers to inject HTML code into KMail's plain text viewer, potentially leading to the exploitation of other vulnerabilities in the HTML viewer code.

No, the HTML viewer in KMail is disabled by default.

To fix this vulnerability, you should upgrade the kdepimlibs package to version 4:4.8.4-2+deb7u1 or later.

Yes, you can disable the HTML viewer in KMail to mitigate the risk of this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for kdepimlibs.

How To Fix

Minimum fixed version

4:4.8.4-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade kdepimlibs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback