CVE-2016-7968 Cross-site scripting in n/a

Medium 6.5 Published Updated

KMail executed JavaScript in HTML emails due to lack of sanitization, allowing attackers to run arbitrary code via malicious messages.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2016-7968?

CVE-2016-7968 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-94

Which versions are affected by CVE-2016-7968?

It affects 1 product.

Products include Kde Kmail.

How do I fix CVE-2016-7968?

No fix has been published for CVE-2016-7968 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2016-7968 being exploited?

There is no known exploitation of CVE-2016-7968 in the wild and no public exploit code.

Sources

Also known as GHSA-grrh-62pc-382r.

Is CVE-2016-7968 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free