KMail since version 5.3.0 used a QWebEngine based viewer that had JavaScript enabled. HTML Mail contents were not sanitized for JavaScript and included code was executed.
https://www.kde.org/info/security/advisory-20161006-3.txt
http://www.securityfocus.com/bid/93360
http://www.openwall.com/lists/oss-security/2016/10/05/1
Source: Mitre, NVD
Published: 2016-12-23
Updated: 2016-12-27
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 6.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Severity: Medium