CVE-2020-5283 json
XSS vulnerability in CVS show_subdir_lastmod support
published 6y ago modified 4mo ago also EUVD-2020-26479
- cvss
- 3.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
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.
Patch / fix
- viewvc viewvc 1.1.28, 1.2.1
- viewvc openSUSE Tumbleweed 1.3.0~dev20230104-1.1
- viewvc Package Hub 15 SP2 1.1.28-bp152.4.3.1
- viewvc openSUSE Leap 15.2 1.1.28-lp152.4.3.1
- viewvc Package Hub 15 SP1 1.1.28-bp151.4.3.1
- viewvc openSUSE Leap 15.1 1.1.28-lp151.3.3.1
opensuse advisories openSUSE-SU-2024:12857-1openSUSE-SU-2021:0145-1openSUSE-SU-2021:0123-1openSUSE-SU-2021:0119-1openSUSE-SU-2021:0084-1
Is CVE-2020-5283 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-5283 updated cvss 3.1
viewvc: XSS vulnerability in CVS show_subdir_lastmod support
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.36% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/viewvc/viewvc/issues/211 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 2.1 | AV:N/AC:H/Au:S/C:N/I:P/A:N |
Affected products
- viewvc viewvc
Classification
References
-
github.com
/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8
patch, third-party-advisory
-
github.com
/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg
mitigation, patch, third-party-advisory
-
github.com
/viewvc/viewvc/issues/211
exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2Q2STF2MKT24HXZ3YZIU7CN6F6QM67I5/
vendor-advisory
Sources
- CVE List CVE-2020-5283
- NVD CVE-2020-5283
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.