XSS vulnerability in CVS show_subdir_lastmod support
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-80.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA viewvc (viewvc) Fixed in 1.1.28, 1.2.1
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2020-5283
References
More Viewvc vulnerabilities
- TI-2025-33984 ViewVC's standalone server exposes arbitrary server filesystem content CVSS 3.1HIGH 7.5
- TI-2023-08713 ViewVC XSS vulnerability in revision view changed path "copyfrom" locations CVSS 3.1MEDIUM 5.4
- TI-2010-00005 query.py in the query interface in ViewVC before 1.1.3 does not reject configurations… CVSS 2.0HIGH 7.5
- TI-2007-05516 viewvc 1.0.3 allows improper access control to files in a repository when using the "forbidden" configuration option. CVSS 3.1HIGH 7.5
- TI-2006-05254 ViewVC 1.0.2 and earlier does not specify a charset in its HTTP headers or HTML… CVSS 2.0MEDIUM 6.8
- TI-2017-03857 Cross-site scripting (XSS) vulnerability in the nav_path function in lib/viewvc.py in… CVSS 3.0MEDIUM 6.1
Sources
- CVE-2020-5283 · CVE Program
- CVE-2020-5283 · NVD
- FIRST EPSS
- CVE-2020-5283 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences