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

Medium 4.3 Published Updated

Remote attackers can execute cross-site scripting attacks by uploading HTML files due to improper extension whitelisting in the Drupal core Upload module.

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-5596?

CVE-2007-5596 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 19 Oct 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

The core Upload module in Drupal 4.7.x before 4.7.8 and 5.x before 5.3 places the .html extension on a whitelist, which allows remote attackers to conduct cross-site scripting (XSS) attacks by uploading .html files.

Weakness: CWE-79

Which versions are affected by CVE-2007-5596?

It affects 1 product.

Products include Drupal Drupal.

How do I fix CVE-2007-5596?

No fix has been published for CVE-2007-5596 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-5596 being exploited?

There is no known exploitation of CVE-2007-5596 in the wild and no public exploit code.

All Drupal Drupal vulnerabilities

Sources

Also known as GHSA-mrvq-r8g7-548f.

Is CVE-2007-5596 in your software?

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

Check your SBOMs for free