Home / Drupal / Drupal / CVE-2007-0626
CVE-2007-0626: is it exploited, and which versions of Drupal are affected and fixed?
CVE-2007-0626 is a vulnerability in Drupal. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: drupal after 4.7.0 before 4.7.6 and drupal from 5.0 before 5.1 (NVD). Fixed in 4.7.6 and 5.1 (NVD). Severity: Medium (6.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is CVE-2007-0626?
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."
From the CVE record by mitre, last updated August 7, 2024, 12:26 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| drupal | drupal | after 4.7.0 before 4.7.6 | application |
| drupal | drupal | from 5.0 before 5.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:35 UTC.
How severe is CVE-2007-0626?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-0626 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.40% probability of exploitation activity in the next 30 days, percentile 89.2 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- http://www.vbdrupal.org/forum/showthread.php?t=786 x_refsource_CONFIRM
- 22306 vdb-entry, x_refsource_BID
- 23960 third-party-advisory, x_refsource_SECUNIA
- ADV-2007-0406 vdb-entry, x_refsource_VUPEN
- 32136 vdb-entry, x_refsource_OSVDB
- ADV-2007-0415 vdb-entry, x_refsource_VUPEN
- drupal-commentformaddpreview-code-execution(31940) vdb-entry, x_refsource_XF
- http://drupal.org/node/113935 x_refsource_CONFIRM
- 20070129 [DRUPAL-SA-2007-005] Drupal 4.7.6 / 5.1 fixes arbitrary code execution issue mailing-list, x_refsource_BUGTRAQ
- 23990 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- January 31, 2007
- Published
- January 31, 2007, 18:00 UTC
- CVE record updated
- August 7, 2024, 12:26 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:35 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Drupal?
- Jan 18, 2021CVE-2020-36193 Php Archive Tar: path traversal (reading or writing files outside the intended folder) exploited
- Nov 19, 2020CVE-2020-28949 Php Archive Tar: injection exploited
- Jan 28, 2026CVE-2026-0749 Drupal: cross-site scripting (XSS)
- Nov 26, 2025CVE-2025-12848 Drupal: cross-site scripting (XSS)
- Jun 9, 2021CVE-2021-33829 Ckeditor: cross-site scripting (XSS)
- Nov 19, 2020CVE-2020-28948 Php Archive Tar: deserialization of untrusted data
- Mar 7, 2020CVE-2020-9281 Ckeditor: cross-site scripting (XSS)
- May 24, 2019CVE-2019-11876 Prestashop: cross-site scripting (XSS)
Questions about CVE-2007-0626
Is CVE-2007-0626 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 3.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Drupal are affected by CVE-2007-0626?
drupal after 4.7.0 before 4.7.6 and drupal from 5.0 before 5.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-0626?
4.7.6 and 5.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2007-0626?
Medium (6.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-0626?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.