CVE-2007-4022 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via the resname parameter in cPanel's changepro.html page.
- 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
- None listed
What is CVE-2007-4022?
CVE-2007-4022 is a medium-severity cross-site scripting vulnerability in Cpanel Cpanel, published on 26 Jul 2007. 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 frontend/x/htaccess/changepro.html in cPanel 10.9.1 allows remote attackers to inject arbitrary web script or HTML via the resname parameter.
Which versions are affected by CVE-2007-4022?
It affects 1 product.
Products include Cpanel Cpanel.
How do I fix CVE-2007-4022?
No fix has been published for CVE-2007-4022 yet. Limit exposure of the affected software until one is available.
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-2007-4022 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4022 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Cpanel Cpanel
- CVE-2026-41940 WebPros cPanel & WHM and WP2 (WordPress Squared) Missing Authentication for Critical Function
- CVE-2003-1425 guestbook.cgi in cPanel 5.0 allows remote attackers to execute arbitrary commands via the template parameter.
- CVE-2004-1769 Code injection in n/a
- CVE-2004-1770 Command injection in n/a
- CVE-2020-26098 Command injection in n/a
Sources
Also known as GHSA-2gj7-v6cw-hpq6.