CVE-2020-2207 Reflected XSS vulnerability in Jenkins VncViewer Plugin
Reflected XSS in Jenkins VncViewer Plugin allows attackers to execute arbitrary scripts in victim browsers via unescaped parameters.
- 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-2020-2207?
CVE-2020-2207 is a medium-severity cross-site scripting vulnerability in Jenkins VncViewer Plugin, published on 2 Jul 2020. 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
Jenkins VncViewer Plugin 1.7 and earlier does not escape a parameter value in the checkVncServ form validation endpoint, resulting in a reflected cross-site scripting (XSS) vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2020-2207?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:vncviewer. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:vncviewer Maven | All versions | 1.8 |
org.jenkins-ci.plugins:vncviewer Maven | All versions | 1.8 |
Products include Jenkins Vncviewer.
How do I fix CVE-2020-2207?
Upgrade org.jenkins-ci.plugins:vncviewer to 1.8 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-2207 being exploited?
There is no known exploitation of CVE-2020-2207 in the wild and no public exploit code.
Sources
Also known as GHSA-2j4h-cjgh-659v.