What’s Vulnerable › Vulnerabilities
CVE-2020-5283: XSS vulnerability in CVS show_subdir_lastmod support
- Severity: low (CVSS 3.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-04-03 · updated 2026-06-17
- Weakness: CWE-80
Description
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.
Affected products
- viewvc: before 1.1.28; from 1.2.0 before 1.2.1 — fixed in 1.1.28, 1.2.1
How to fix
Upgrade to a fixed version: viewvc 1.1.28, 1.2.1. Check the vendor advisory for mitigations.
References
- https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8
- https://github.com/viewvc/viewvc/issues/211
- https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2Q2STF2MKT24HXZ3YZIU7CN6F6QM67I5/
- https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8
- https://github.com/viewvc/viewvc/issues/211
- https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2Q2STF2MKT24HXZ3YZIU7CN6F6QM67I5/
Get alerted when CVE-2020-5283 or the next vulnerability affects your stack