CVE-2007-0626 Code injection in n/a

Medium 6.5 Published Updated

Authenticated users with comment posting privileges can execute arbitrary code by exploiting input filter handling during comment preview in Drupal.

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

CVE-2007-0626 is a medium-severity code injection vulnerability in Drupal Drupal, published on 31 Jan 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 comment_form_add_preview function in comment.module in Drupal before 4.7.6, and 5.x before 5.1, and vbDrupal, allows remote attackers with "post comments" privileges and access to multiple input filters to execute arbitrary code by previewing comments, which are not processed by "normal form validation routines."

Which versions are affected by CVE-2007-0626?

It affects 1 product.

Products include Drupal Drupal.

How do I fix CVE-2007-0626?

No fix has been published for CVE-2007-0626 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2007-0626 being exploited?

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

All Drupal Drupal vulnerabilities

Sources

Also known as GHSA-phv5-85pf-xrp3.

Is CVE-2007-0626 in your software?

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

Check your SBOMs for free