Description
Cross-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 attackers to inject arbitrary web script or HTML via the nav_data name.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | viewvc | 1.1.22-1+deb8u1 | DSA-3784-1 |
| Debian 7 | viewvc | 1.1.5-1.4+deb7u1 | DLA-820-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | viewvc | 1.1.22-1+deb8u1build0.16.04.1 | — |
| Ubuntu 14.04 LTS | viewvc | 1.1.5-1.4+deb7u1build0.14.04.1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | viewvc | 1.3.0~dev20230104-1.1 | openSUSE-SU-2024:12857-1 |
Advisories 3
- DLA-820-1 viewvc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3784-1 viewvc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:12857-1 viewvc-1.3.0~dev20230104-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/viewvc/viewvc/releases/tag/1.0.14
- https://github.com/viewvc/viewvc/issues/137
- 96185 vdb-entry
- https://github.com/viewvc/viewvc/commit/9dcfc7daa4c940992920d3b2fbd317da20e44aad
- https://github.com/viewvc/viewvc/releases/tag/1.1.26
- [oss-security] 20170208 Re: CVE request: XSS in viewvc mailing-list
- DSA-3784 vendor-advisory
- openSUSE-SU-2017:0501 vendor-advisory