ViewVC XSS vulnerability in revision view changed path "copyfrom" locations
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.)
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA viewvc (viewvc) Fixed in 1.1.30, 1.2.3
Timeline
- 2026-10-02 Threatist record created from CVE-2023-22464
- 2026-10-16 EPSS moved to the 50th–90th percentile
References
More Viewvc vulnerabilities
- TI-2025-33984 ViewVC's standalone server exposes arbitrary server filesystem content CVSS 3.1HIGH 7.5
- TI-2010-00005 query.py in the query interface in ViewVC before 1.1.3 does not reject configurations… CVSS 2.0HIGH 7.5
- TI-2007-05516 viewvc 1.0.3 allows improper access control to files in a repository when using the "forbidden" configuration option. CVSS 3.1HIGH 7.5
- TI-2006-05254 ViewVC 1.0.2 and earlier does not specify a charset in its HTTP headers or HTML… CVSS 2.0MEDIUM 6.8
- TI-2017-03857 Cross-site scripting (XSS) vulnerability in the nav_path function in lib/viewvc.py in… CVSS 3.0MEDIUM 6.1
- TI-2023-08706 ViewVC XSS vulnerability in revision view changed paths CVSS 3.1MEDIUM 6.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences