CVE-2020-2111 Subversion Plugin stored XSS vulnerability

Medium 5.4 Published Updated

Stored cross-site scripting in Jenkins Subversion Plugin allows attackers to inject malicious scripts via unescaped error messages in form validation.

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

What is CVE-2020-2111?

CVE-2020-2111 is a medium-severity cross-site scripting vulnerability in Jenkins Subversion Plugin, published on 12 Feb 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Jenkins Subversion Plugin 2.13.0 and earlier does not escape the error message for the Project Repository Base URL field form validation, resulting in a stored cross-site scripting vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2020-2111?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:subversion MavenAll versions2.13.1
org.jenkins-ci.plugins:subversion MavenAll versions2.13.1

Products include Jenkins Subversion.

How do I fix CVE-2020-2111?

Upgrade org.jenkins-ci.plugins:subversion to 2.13.1 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-2111 being exploited?

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

Sources

Also known as GHSA-x3pr-fcgm-wjgc.

Is CVE-2020-2111 in your software?

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

Check your SBOMs for free