Browser script execution via unescaped changed paths
Published Jan 3, 2023 · Updated Mar 10, 2025
Stored XSS in the ViewVC revision view before 1.1.29 and from 1.2.0 through 1.2.1 allows remote authenticated users to execute scripts. The view_revision code in lib/viewvc.py assigns a joined changed-path string to change.path without HTML escaping, so revision.ezt emits filename markup into the page. Exploitation requires commit access to a served Subversion repository, a deliberately unsafe filename, and a viewer who opens the affected revision page; script runs in that viewer's browser.
Summary
What happened
Stored XSS in the ViewVC revision view before 1.1.29 and from 1.2.0 through 1.2.1 allows remote authenticated users to execute scripts. The view_revision code in lib/viewvc.py assigns a joined changed-path string to change.path without HTML escaping, so revision.ezt emits filename markup into the page. Exploitation requires commit access to a served Subversion repository, a deliberately unsafe filename, and a viewer who opens the affected revision page; script runs in that viewer's browser.
The record
- CVE
- CVE-2023-22456
- Published
- Jan 3, 2023
- Updated
- Mar 10, 2025
- Vendor
- ViewVC
- Product
- ViewVC
- Classifications
- CWE-80, CWE-79, T1189
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 3, 2023CVE publishedPublication date reported by the CVE source.
- Mar 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.1.29
- Affected versionversion=>= 1.2.0, < 1.2.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo