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

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via the nav_data name in ViewVC, potentially compromising user sessions.

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-5938?

CVE-2017-5938 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 15 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

Cross-site scripting (XSS) vulnerability in the nav_path function in lib/viewvc.py in ViewVC before 1.0.14 and 1.1.x before 1.1.26 allows remote attackers to inject arbitrary web script or HTML via the nav_data name.

Weakness: CWE-79

Which versions are affected by CVE-2017-5938?

It affects 4 products.

Products include Debian Debian Linux, Opensuse Leap, Opensuse Project Leap, Viewvc Viewvc.

How do I fix CVE-2017-5938?

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-5938 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CVE-2017-1000019, DLA-820-1, DSA-3784-1, GHSA-3h2f-w6h5-7wr8, MGASA-2017-0048, UBUNTU-CVE-2017-5938.

Is CVE-2017-5938 in your software?

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

Check your SBOMs for free