Introducing EmDash - the spiritual successor to WordPress that solves plugin security
1 min read
Originally from blog.cloudflare.com
View source
My notes
Summary
Cloudflare has released EmDash v0.1.0, a TypeScript/serverless CMS built as a modern replacement for WordPress. It solves WordPress’s core plugin security flaw by running each plugin in an isolated Dynamic Worker with a capability-based permission model, similar to OAuth scopes. The project is MIT-licensed, built on Astro, and includes built-in support for x402 pay-per-request payments targeting the AI agent web.
Key Insight
- 96% of WordPress security issues originate in plugins - the root cause is that plugins run in the same execution context as WordPress itself with full database and filesystem access. EmDash isolates each plugin in its own V8 isolate (Dynamic Worker) and grants only explicitly declared capabilities.
- Capability model resembles OAuth scopes - a plugin must declare upfront what hooks it uses and what it can access (e.g.,
read:content,email:send). This means an admin can assess security risk before installing, without trusting a centralized marketplace. - Marketplace lock-in broken - WordPress’s GPL license requirement for plugins exists partly because centralized trust is needed to compensate for poor security. EmDash’s sandboxing lets plugins carry any license and be distributed outside official registries, since the runtime constraints enforce safety.
- x402 payment protocol built in - EmDash sites can charge AI agents per HTTP request using the x402 standard (HTTP 402 Payment Required + wallet address). No subscription setup required, targeted at the emerging agent-driven web where traditional ad revenue does not work.
- AI-native from day one - ships with an MCP server, CLI, and Agent Skills files so LLMs can manage content, migrate WordPress sites, and build plugins natively. Themes are Astro projects, which LLMs are already well-trained on.
- WordPress importer included - supports WXR export or a live exporter plugin, handles custom post types and ACF-style fields by mapping them to new EmDash collections.
- Still v0.1.0 preview - early developer beta, not production-ready, but deployable to Cloudflare or any Node.js server today via
npm create emdash@latest.