CVE-2020-5283: ViewVC - Stored XSS
- Cve: CVE-2020-5283
- Name: ViewVC - Stored XSS
- 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.
- Impact: Attackers can execute malicious scripts in victims' browsers, potentially leading to session hijacking or data theft.
- Remediation: Update to version 1.2.1 or 1.1.28.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs commit privileges and show_subdir_lastmod enabled
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
- Epss score: 0.01363
- Epss percentile: 0.72497
- Assignee: [email protected]
- Published at: 2020-04-03T00:15:11Z
- Age in days: 2426
- Modified at: 2026-06-17T03:21:11Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-5283
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-80 | Improper Neutralization of Script-Related HTML Tags in a Web Page |
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/viewvc/viewvc/issues/211 | nvd | 2020-04-03 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8 | Patch, Third Party Advisory |
| https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg | Mitigation, Patch, Third Party Advisory |
| https://github.com/viewvc/viewvc/issues/211 | Exploit, Issue Tracking, Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2Q2STF2MKT24HXZ3YZIU7CN6F6QM67I5/ |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| viewvc:viewvc | >= 1.2.0, < 1.2.1; < 1.1.28 | no | nvd | /v1/products/viewvc/viewvc |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| viewvc/viewvc | commit, fix, issues, security_advisory | yes | /v1/repositories/viewvc/viewvc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2020-04-03
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts