Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5938
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-5938
Complete source record
{
"id": "4ed363eb09f5ebab87a639c494f951bb9c9a37bb2dca165bdaf8b31f5b7e8ed9",
"url": "https://osv.dev/vulnerability/CVE-2017-5938",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5938",
"summary": "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.",
"evidence": "osv:CVE-2017-5938",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-5938",
"aliases": [
"CVE-2017-5938"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/viewvc/viewvc",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "ba223a43ee5c2ccf4c688653428355b420084b20"
},
{
"fixed": "9dcfc7daa4c940992920d3b2fbd317da20e44aad"
},
{
"fixed": "7a41618279257879335854ddd41bd7e83461d9f5"
},
{
"fixed": "a3cfc4a02c1035c463dfe61db605f65ceb86bc9f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:viewvc:viewvc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.1.25"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9dcfc7daa4c940992920d3b2fbd317da20e44aad"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7a41618279257879335854ddd41bd7e83461d9f5"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.0.14"
},
{
"range": [
{
"fixed": "a3cfc4a02c1035c463dfe61db605f65ceb86bc9f"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.1.26"
}
]
}
}
],
"versions": [
"1.1.25"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5938.json"
}
}
],
"modified": "2026-10-20T10:47:51.745542483Z",
"provider": "osv",
"references": [
"https://github.com/viewvc/viewvc/releases/tag/1.0.14",
"https://github.com/viewvc/viewvc/releases/tag/1.1.26",
"https://github.com/viewvc/viewvc/issues/137",
"https://github.com/viewvc/viewvc/commit/9dcfc7daa4c940992920d3b2fbd317da20e44aad"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "42.2"
},
{
"last_affected": "42.2"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse_project:leap:42.1:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse_project:leap",
"extracted_events": [
{
"range": [
{
"introduced": "42.1"
},
{
"last_affected": "42.1"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-5938",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379780,
"published_at": "2017-03-15T14:59:00.557+00:00"
}