# CVE-2020-5283: XSS vulnerability in CVS show_subdir_lastmod support

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-03T00:10:13.000Z
- Modified: 2026-06-17T03:21:11.940Z
- Weaknesses: CWE-79, CWE-80
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- viewvc viewvc: < 1.1.28; >= 1.2.0, < 1.2.1; before 1.1.28; from 1.2.0 before 1.2.1

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:N/AC:H/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/viewvc/viewvc/issues/211> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg> (mitigation, patch, third-party-advisory)
- <https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2Q2STF2MKT24HXZ3YZIU7CN6F6QM67I5/> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-5283](https://www.cve.org/CVERecord?id=CVE-2020-5283), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-5283](https://nvd.nist.gov/vuln/detail/CVE-2020-5283), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5283 · Whole record: https://cve.day/CVE-2020-5283.json · Rebuilt by cve.day 2026-11-25T22:57:51.773Z
