Vulnerability · Published Apr 3, 2020 · Assigned by GitHub_M
CVE-2020-5283XSS vulnerability in CVS show_subdir_lastmod support
Low 3.1
In plain English
A low-severity security flaw in viewvc from viewvc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-80 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg x_refsource_CONFIRM
- https://github.com/viewvc/viewvc/issues/211 x_refsource_MISC
- https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8 x_refsource_MISC
- FEDORA-2020-c952520959 vendor-advisory, x_refsource_FEDORA