Original 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."
Affected software
- Drupal ≥ 5.0 < 5.1> 4.7.0 < 4.7.6 Fixed in: 5.1, 4.7.6 exact match
Details
- Published
- 2007-01-31
- Last modified
- 2026-06-16
- CVSS vector
AV:N/AC:L/Au:S/C:P/I:P/A:P- EPSS (30-day exploit probability)
- 3.40% (percentile 89)
References
- cve.org/CVE-2007-0626
- nvd.nist.gov/vuln/detail/CVE-2007-0626
- archives.neohapsis.com/archives/bugtraq/2007-01/0670.html
- drupal.org/node/113935
- osvdb.org/32136
- secunia.com/advisories/23960
- secunia.com/advisories/23990
- www.securityfocus.com/bid/22306
- www.vbdrupal.org/forum/showthread.php?t=786
- www.vupen.com/english/advisories/2007/0406
- www.vupen.com/english/advisories/2007/0415
- exchange.xforce.ibmcloud.com/vulnerabilities/31940
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.