CVE-2012-4533 Cross-site scripting in n/a
Authenticated users with commit access can inject arbitrary scripts via the function name line in ViewVC, potentially compromising other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-4533?
CVE-2012-4533 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 19 Nov 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the "extra" details in the DiffSource._get_row function in lib/viewvc.py in ViewVC 1.0.x before 1.0.13 and 1.1.x before 1.1.16 allows remote authenticated users with repository commit access to inject arbitrary web script or HTML via the "function name" line.
Weakness: CWE-79
Which versions are affected by CVE-2012-4533?
It affects 2 products.
Products include Debian Debian Linux, Viewvc Viewvc.
How do I fix CVE-2012-4533?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2012-4533 being exploited?
There is no known exploitation of CVE-2012-4533 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as GHSA-6cx5-w8wc-hcvh.