CVE-2020-1766 Improper handling of uploaded inline images

Low 2.0 Published Updated

Attackers can execute malicious JavaScript in agents' browsers via crafted SVG files disguised as inline JPG images in OTRS.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-1766?

CVE-2020-1766 is a low-severity cross-site scripting vulnerability in Debian Debian Linux, published on 10 Jan 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Due to improper handling of uploaded images it is possible in very unlikely and rare conditions to force the agents browser to execute malicious javascript from a special crafted SVG file rendered as inline jpg file. This issue affects: ((OTRS)) Community Edition 5.0.x version 5.0.39 and prior versions; 6.0.x version 6.0.24 and prior versions. OTRS 7.0.x version 7.0.13 and prior versions.

Weakness: CWE-79

Which versions are affected by CVE-2020-1766?

It affects 2 products.

Products include Debian Debian Linux, Otrs Otrs.

How do I fix CVE-2020-1766?

Upgrade to a fixed version.

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-2020-1766 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-1766, GHSA-m842-x755-qmxc, UBUNTU-CVE-2020-1766.

Is CVE-2020-1766 in your software?

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

Check your SBOMs for free