CVE-2020-2111 Subversion Plugin stored XSS vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:subversion Maven | All versions | 2.13.1 |
org.jenkins-ci.plugins:subversion Maven | All versions | 2.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.
Other vulnerabilities in Jenkins Subversion Plugin
- CVE-2021-21698 Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files
- CVE-2020-2304 XXE vulnerability in Jenkins Subversion Plugin
- CVE-2017-1000085 Jenkins Subversion Plugin Cross-Site Request Forgery vulnerability
- CVE-2018-1000111 Jenkins Subversion Plugin Incorrect Authorization vulnerability
Sources
Also known as GHSA-x3pr-fcgm-wjgc.