CVE-2017-6820 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in a victim's browser via crafted CSS in SVG elements, potentially leading to session hijacking or data theft.

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

What is CVE-2017-6820?

CVE-2017-6820 is a medium-severity cross-site scripting vulnerability in Roundcube Webmail, published on 12 Mar 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

rcube_utils.php in Roundcube before 1.1.8 and 1.2.x before 1.2.4 is susceptible to a cross-site scripting vulnerability via a crafted Cascading Style Sheets (CSS) token sequence within an SVG element.

Weakness: CWE-79

Which versions are affected by CVE-2017-6820?

It affects 1 product.

Products include Roundcube Webmail.

How do I fix CVE-2017-6820?

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-2017-6820 being exploited?

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

All Roundcube Webmail vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-6820, DLA-855-1, GHSA-76mh-6w46-rwcg, MGASA-2017-0092, UBUNTU-CVE-2017-6820.

Is CVE-2017-6820 in your software?

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

Check your SBOMs for free