XSS in Viewvc

CVE-2020-5283

ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS show_subdir_lastmod 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 `show_subdir_lastmod` 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.

EPSS: 0.012 (65.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N.

Affected products

  • Viewvc — versions < 1.1.28, >= 1.2.0, < 1.2.1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-5283?
CVE-2020-5283 is a low-severity vulnerability in Viewvc, classified under Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS). CVSS score: 3.1/10. Published 2020-04-03.
How severe is CVE-2020-5283?
Low severity. CVSS v3 base score is 3.1 out of 10.