Stored cross-site scripting in ViewVC - CVE-2023-22456

 

Stored cross-site scripting in ViewVC - CVE-2023-22456

Published: January 3, 2023


Vulnerability identifier: #VU70667
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2023-22456
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the revision view changed paths. A remote user with commit privileges to a Subversion repository can permanetly inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.


Affected software

ViewVC
Fedora
viewvc

How to mitigate CVE-2023-22456

Install updates from vendor's website.

ViewVC - addressed in versions 1.1.29, 1.2.2
viewvc - update to 1.1.30-1.el7

External References

Related Security Bulletins