CVE-2007-4022 Cross-site scripting in n/a

Medium 4.3 Published Updated

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.

All Cpanel Cpanel vulnerabilities

Sources

Also known as GHSA-2gj7-v6cw-hpq6.

Is CVE-2007-4022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free