CVE-2020-2205 Stored XSS vulnerability in Jenkins VncRecorder Plugin

Medium 4.8 Published Updated

Stored XSS in Jenkins VncRecorder Plugin allows administrators to inject scripts via tool path, potentially leading to code execution or account takeover.

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

CVE-2020-2205 is a medium-severity cross-site scripting vulnerability in Jenkins VncRecorder Plugin, published on 2 Jul 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Jenkins VncRecorder Plugin 1.25 and earlier does not escape a tool path in the `checkVncServ` form validation endpoint, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by Jenkins administrators.

Weakness: CWE-79

Which versions are affected by CVE-2020-2205?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:vncrecorder. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:vncrecorder MavenAll versions1.35
org.jenkins-ci.plugins:vncrecorder MavenAll versions1.35

Products include Jenkins Vncrecorder.

How do I fix CVE-2020-2205?

Upgrade org.jenkins-ci.plugins:vncrecorder to 1.35 or later.

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

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

Sources

Also known as GHSA-vqp8-h53h-3jfh.

Is CVE-2020-2205 in your software?

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

Check your SBOMs for free