CVE-2020-5283: XSS vulnerability in CVS show_subdir_lastmod support
ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS showsubdirlastmod support. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a CVS repository exposed by an otherwise trusted ViewVC instance that also has the showsubdirlastmod feature enabled. The attack vector involves files with unsafe names (names that, when embedded into an HTML stream, would cause the browser to run unwanted code), which themselves can be challenging to create. This vulnerability is patched in versions 1.2.1 and 1.1.28.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.2.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.1.28
Event History
Frequently Asked Questions
What is the severity of CVE-2020-5283?
CVE-2020-5283 has a medium severity level due to its potential for cross-site scripting (XSS) exploitation.
How do I fix CVE-2020-5283?
To fix CVE-2020-5283, update ViewVC to version 1.1.28 or 1.2.1 or later.
What type of vulnerability is CVE-2020-5283?
CVE-2020-5283 is an XSS (cross-site scripting) vulnerability affecting ViewVC.
Who is affected by CVE-2020-5283?
Users who have ViewVC versions before 1.1.28 or between 1.2.0 and 1.2.1 installed are affected by CVE-2020-5283.
Can CVE-2020-5283 be exploited remotely?
CVE-2020-5283 requires an attacker to have commit privileges to a CVS repository, limiting its remote exploitability.