← Vulnerability feed

Vulnerability record · CVE-2023-22464 · published 4 January 2023

CVE-2023-22464: Viewvc cross-site scripting vulnerability

Viewvc · Viewvc

ViewVC is a browser interface for CVS and Subversion version control repositories. Versions prior to 1.2.3 and 1.1.30 are vulnerable to cross-site scripting. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a Subversion repository exposed by an otherwise trusted ViewVC instance. 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. Users should update to at least version 1.2.3 (if they are using a 1.2.x version of ViewVC) or 1.1.30 (if they are using a 1.1.x version). ViewVC 1.0.x is no longer supported, so users of that release lineage should implement one of the following workarounds. Users can edit their ViewVC EZT view templates to manually HTML-escape changed path "copyfrom paths" during rendering. Locate in your template set's `revision.ezt` file references to those changed paths, and wrap them with `[format "html"]` and `[end]`. For most users, that means that references to `[changes.copy_path]` will become `[format "html"][changes.copy_path][end]`. (This workaround should be reverted after upgrading to a patched version of ViewVC, else "copyfrom path" names will be doubly escaped.)

5.4 CVSS 3.1 Medium EPSS 0.69% · top 46.8% CWE-79 · Cross-site scriptingCWE-80 · CWE-80
5.4CVSS 3.1 base score
0.69%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

ViewVC is a browser interface for CVS and Subversion version control repositories. Versions prior to 1.2.3 and 1.1.30 are vulnerable to cross-site scripting. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a Subversion repository exposed by an otherwise trusted ViewVC instance. 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. Users should update to at least version 1.2.3 (if they are using a 1.2.x version of ViewVC) or 1.1.30 (if they are using a 1.1.x version). ViewVC 1.0.x is no longer supported, so users of that release lineage should implement one of the following workarounds. Users can edit their ViewVC EZT view templates to manually HTML-escape changed path "copyfrom paths" during rendering. Locate in your template set's `revision.ezt` file references to those changed paths, and wrap them with `[format "html"]` and `[end]`. For most users, that means that references to `[changes.copy_path]` will become `[format "html"][changes.copy_path][end]`. (This workaround should be reverted after upgrading to a patched version of ViewVC, else "copyfrom path" names will be doubly escaped.)

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/viewvc/viewvc/issues/311 ExploitIssue TrackingMitigationThird Party Advisory
https://github.com/viewvc/viewvc/releases/tag/1.1.30 Release NotesThird Party Advisory
https://github.com/viewvc/viewvc/releases/tag/1.2.3 Release NotesThird Party Advisory
https://github.com/viewvc/viewvc/security/advisories/GHSA-jvpj-293q-q53h MitigationThird Party Advisory
https://github.com/viewvc/viewvc/issues/311 ExploitIssue TrackingMitigationThird Party Advisory
https://github.com/viewvc/viewvc/releases/tag/1.1.30 Release NotesThird Party Advisory
https://github.com/viewvc/viewvc/releases/tag/1.2.3 Release NotesThird Party Advisory
https://github.com/viewvc/viewvc/security/advisories/GHSA-jvpj-293q-q53h MitigationThird Party Advisory

Track CVE-2023-22464 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2025-54141Viewvc path traversal vulnerabilityViewVC is a browser interface for CVS and Subversion version control repositories. In versions 1.1.0 through 1.1.31 and 1.2.0 through 1.2.3, the stan…EPSS 0.85%7.5CVE-2007-5743Viewvc incorrect permission assignment vulnerabilityviewvc 1.0.3 allows improper access control to files in a repository when using the "forbidden" configuration option.EPSS 1.1%7.5CVE-2010-0005Viewvc permissions and access controls vulnerabilityquery.py in the query interface in ViewVC before 1.1.3 does not reject configurations that specify an unsupported authorizer for a root, which might …EPSS 1.7%6.8CVE-2006-5442Viewvc vulnerabilityViewVC 1.0.2 and earlier does not specify a charset in its HTTP headers or HTML documents, which allows remote attackers to conduct cross-site script…EPSS 1.5%6.1CVE-2023-22456Viewvc cross-site scripting vulnerabilityViewVC, a browser interface for CVS and Subversion version control repositories, as a cross-site scripting vulnerability that affects versions prior …EPSS 0.75%6.1CVE-2017-5938Debian linux cross-site scripting vulnerabilityCross-site scripting (XSS) vulnerability in the nav_path function in lib/viewvc.py in ViewVC before 1.0.14 and 1.1.x before 1.1.26 allows remote atta…EPSS 1.3%5.8CVE-2008-4325Viewvc vulnerabilitylib/viewvc.py in ViewVC 1.0.5 uses the content-type parameter in the HTTP request for the Content-Type header in the HTTP response, which allows remo…EPSS 1.4%5.0CVE-2012-3357Viewvc information exposure vulnerabilityThe SVN revision view (lib/vclib/svn/svn_repos.py) in ViewVC before 1.1.15 does not properly handle log messages when a readable path is copied from …EPSS 1.9%

Source: NIST National Vulnerability Database (record CVE-2023-22464), CISA KEV, FIRST EPSS (scores of 2026-11-16). This page is refreshed as NVD updates the record.