CVE-2020-5283
published low CVSS 3.1 · 3.1XSS vulnerability in CVS show_subdir_lastmod support
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| viewvc | — | viewvc< 1.1.28 · >= 1.2.0, < 1.2.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.1 | viewvcnoarch | Advisory build | 1.1.28-lp151.3.3.1 | OPENSUSE-SU-2021:0084-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | viewvcnoarch | Advisory build | 1.1.28-lp152.4.3.1 | OPENSUSE-SU-2021:0123-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | viewvcaarch64 | Advisory build | 1.3.0~dev20230104-1.1 | OPENSUSE-SU-2024:12857-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | viewvcppc64le | Advisory build | 1.3.0~dev20230104-1.1 | OPENSUSE-SU-2024:12857-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | viewvcs390x | Advisory build | 1.3.0~dev20230104-1.1 | OPENSUSE-SU-2024:12857-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | viewvcx86_64 | Advisory build | 1.3.0~dev20230104-1.1 | OPENSUSE-SU-2024:12857-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| viewvc | viewvc | < 1.1.28 (affected)>= 1.2.0, < 1.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
4- 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
- FEDORA-2020-c952520959 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2Q2STF2MKT24HXZ3YZIU7CN6F6QM67I5/
Provider assertions
2GitHub_M · cna
XSS vulnerability in CVS show_subdir_lastmod support
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5df2a708a9bc8fa2c067e5b40889ad721efdc087c59b54fccf882366be1e0300
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record