What is Payload CMS vs WordPress?
Payload CMS is an open-source, TypeScript-native content management system that installs directly inside a Next.js application. Content models, access control and page blocks are defined in typed code, public content is delivered through static or edge rendering, and there is no PHP runtime or third-party plugin marketplace. Since version 3.0 it runs as part of a Next.js app, and although Figma acquired Payload in June 2025 it remains open source under the MIT license.
WordPress is still the fastest way to launch a simple site with off-the-shelf plugins, but Payload CMS is the stronger choice for businesses that care about security, performance, custom content models and long-term maintainability. Payload is open source and TypeScript-native, it runs inside a Next.js app, its access control is written as code, and it has no plugin marketplace running untrusted PHP. After PHP2Shell, that difference matters more than ever. On 21 October 2026, PHP released emergency fixes for CVE-2026-109618 and CVE-2026-109619, critical flaws that let unauthenticated attackers execute code on PHP servers. Wiz showed working exploits against default WordPress installations, and governments across Europe took sites offline. WordPress powers 59.2% of websites with a known CMS, so many marketing leaders and CTOs are asking whether a modern alternative carries the same risk profile.
Why this comparison matters now
PHP2Shell changed the calculus for anyone running WordPress. The two flaws, CVE-2026-109618 and CVE-2026-109619, each rated 9.2 on CVSS v4.0, let an unauthenticated attacker execute code through the PHP interpreter itself, one layer below anything a WordPress administrator controls. Wiz demonstrated working remote code execution against default WordPress installations with no vulnerable plugin and no weak password, and Cloudflare reported early attacks. Governments in France, Denmark, Finland and the Netherlands took websites offline while they patched. WordPress powers 59.2% of websites with a known CMS according to W3Techs, which is why headlines described the issue as affecting 70% of the internet. The strategic question for business owners is no longer whether a modern alternative exists, but which one keeps the editor experience while removing the PHP risk entirely.
Architecture: monolith vs code-first, Next.js-native
WordPress is a PHP monolith. One codebase renders HTML, runs the admin, processes forms and serves the REST API, and every plugin hooks into that same process with full access to the database and file system. A page view, unless served from a page cache, runs PHP, loads WordPress core, loads every active plugin, queries MySQL and renders a theme template. Since Payload 3.0, Payload installs directly into a Next.js app: the admin panel, the APIs and your public website live in one TypeScript codebase but remain separate concerns. Your content schema is a typed config file with collections, drafts, and function-based access control at read, create, update and delete. Public pages are typically statically generated or incrementally regenerated and served from a CDN, so most visitors never touch your application server, which cuts the attack surface dramatically.
import type { CollectionConfig } from 'payload'
export const Posts: CollectionConfig = {
slug: 'posts',
versions: { drafts: true },
access: {
read: ({ req }) => (req.user ? true : { _status: { equals: 'published' } }),
create: ({ req }) => req.user?.role === 'editor' || req.user?.role === 'admin',
update: ({ req }) => req.user?.role === 'editor' || req.user?.role === 'admin',
delete: ({ req }) => req.user?.role === 'admin',
},
fields: [
{ name: 'title', type: 'text', required: true },
{ name: 'slug', type: 'text', unique: true, index: true },
{ name: 'content', type: 'richText' },
{ name: 'author', type: 'relationship', relationTo: 'users' },
],
}How content reaches the visitor
The delivery model is where the two stacks diverge most sharply. WordPress renders each request through PHP unless caching plugins intervene, so every visitor can touch the application server and the database. A Payload site on Next.js serves pre-rendered pages from the CDN and revalidates in the background when an editor publishes, so most requests never execute server code and the public site can stay up even while the origin is patched or isolated. Payload's momentum is real. Figma acquired the project in June 2025, and weekly npm downloads grew from about 20,000 to 90,000 during 2024, which signals long-term investment in the platform rather than a short-lived open-source experiment.
flowchart LR
subgraph WordPress
U1[Visitor] --> P1[PHP + WP core + 30 plugins] --> DB1[(MySQL)]
end
subgraph Payload on Next.js
U2[Visitor] --> CDN[CDN: pre-rendered pages]
CDN -. revalidate on publish .-> NX[Next.js + Payload]
ED[Editor] --> NX --> DB2[(PostgreSQL)]
endSecurity model, compared
Six factors separate the two security postures. On runtime exposure, WordPress inherits every PHP engine vulnerability, and PHP2Shell bypassed WordPress entirely, while Payload runs on Node.js and with static delivery the public site can stay up even if the server is patched or isolated. On third-party code, Patchstack research consistently attributes the large majority of WordPress vulnerabilities to plugins, which are installed through the admin UI, often by non-developers, and run with full privileges; Payload has no admin install-plugin button, and extensions are npm packages added in code, reviewed in pull requests, pinned in a lockfile and scanned by Dependabot, Renovate or Snyk. On access control, WordPress uses roles and capabilities, often extended by plugins, while Payload access control is a function you write at collection, document and field level. On the admin surface, /wp-admin and /wp-login.php are among the most attacked URLs on the internet and xmlrpc.php is a long-standing brute-force target, whereas the Payload admin route is configurable, auth is built in with optional SSO, and the admin can be restricted by network or hosted separately. On the database, WordPress uses MySQL with one shared credential, while Payload uses PostgreSQL or MongoDB, and row-level security in PostgreSQL or Supabase adds a second layer of protection. On secrets, wp-config.php sits on disk next to code; with Payload and Next.js, secrets are environment variables managed by your platform's secret store, scoped per environment and never committed.
Note
Payload removes three major WordPress risk factors at once: the PHP runtime, a marketplace of third-party plugins with full privileges, and server-rendered public pages.
Performance, editors and SEO
Google uses Core Web Vitals, meaning LCP, INP and CLS, as part of its page experience signals. WordPress performance depends on hosting, caching plugins, theme weight and the number of plugins loading scripts on the front end, and heavy page builders often hurt LCP and INP. Payload with Next.js gives you React Server Components, static generation, automatic code splitting, next/image optimisation and font optimisation by default, so a well-built Next.js site usually ships far less JavaScript than a plugin-heavy WordPress theme. In App Corp's own healthcare website builds, conversion-first Next.js architecture played a central role, including the Dandaansaz dental clinic site where the conversion rate moved from 0.9% to 3.2%. On the editor side, Payload offers live preview, drafts, scheduled publishing, autosave, version history with restore, block-based layouts where developers define approved blocks and editors assemble pages without breaking the design system, a media library with focal points, per-field localisation and role-based dashboards. Most marketing teams adapt within a day or two, and many prefer it to WordPress because blocks are on-brand by construction. On SEO, everything WordPress does with Yoast, Rank Math or Redirection plugins is explicit and version-controlled in Payload plus Next.js: metadata through the Next.js Metadata API, XML sitemaps generated from content with app/sitemap.ts, structured data as typed JSON-LD components, and redirects in a Payload collection served through Next.js middleware.
Extensibility and total cost of ownership
WordPress's biggest strength is its plugin ecosystem, and it is also its biggest liability. You can add features without a developer, but each plugin is another vendor, another update stream and another attack surface. Payload takes the opposite approach: features are built or composed in code using hooks such as beforeChange, afterChange and afterRead, custom endpoints and the Local API for integrations, official plugins for SEO, forms, redirects, nested docs, search, multi-tenant and Stripe installed as code dependencies, plus the full npm and React ecosystem. You need a developer to add features, but you never wake up to a plugin auto-update that broke checkout. On cost over a three-year view, WordPress starts cheaper on theme and plugins but carries recurring premium licences, managed WordPress hosting, security monitoring and cleanup, unplanned emergency patch events like PHP2Shell, and ongoing plugin tuning, with developer productivity declining as plugins pile up. Payload starts with a higher custom-component build cost but minimal licences, CDN plus Node or serverless hosting that is often cheaper at scale, mostly built-in performance work, and productivity that stays high in typed, tested code. The more a site matters to revenue, the faster Payload's higher upfront cost pays back. The full model lives in The Real Cost of Staying on PHP.
When WordPress is still the right choice
Be wary of anyone who says one tool fits everyone. WordPress may still be right if you need a simple blog or brochure site this week on a small budget, if you rely on non-developers installing plugins for new features, if you are on reputable managed hosting that patched PHP2Shell within hours, or if the site has no logins, payments or sensitive data. Choose Payload when the website is core to revenue, lead generation or customer experience; when you need custom content types, workflows or integrations; when you handle personal, health or payment data; when you want top-tier performance and to be AI-ready; or when you want to stop managing PHP, plugins and server patches altogether. Both App Corp paths, the pre-built Payload starter and the bespoke Payload platform, include CI/CD, staging, analytics and handover training for your editors.
Sources and references
Payload CMS official documentation at payloadcms.com/docs and the GitHub repository at github.com/payloadcms/payload, which is MIT licensed. CMSWire covered Figma's Payload deal at cmswire.com, and Grand Ventures analysed the journey at grandvcp.com. W3Techs published WordPress usage statistics at w3techs.com/technologies/details/cm-wordpress, and Patchstack's State of WordPress Security report is at patchstack.com/whitepaper/state-of-wordpress-security-in-2025. Wiz Research disclosed PHP2Shell at wiz.io/blog/php2shell-php-rce, CNBC reported the government shutdowns at cnbc.com, Google documents Web Vitals at web.dev/articles/vitals, Next.js documentation is at nextjs.org/docs, and WordPress.org's about page is at wordpress.org/about.
Payload CMS vs WordPress at a glance
| Criteria | WordPress | Payload CMS |
|---|---|---|
| Language / runtime | PHP | TypeScript / Node.js |
| Architecture | Monolithic, optionally headless | Code-first, runs inside Next.js since v3 |
| License | GPL v2+ | MIT (open source) |
| Database | MySQL / MariaDB | PostgreSQL, MongoDB, SQLite via adapters |
| Content modelling | Posts, pages, custom post types; often needs ACF | Collections, globals, blocks and fields, all in typed code |
| Access control | Roles and capabilities, extended by plugins | Function-based at collection, document and field level |
| Third-party code | 60,000+ plugins, varying quality | npm packages you choose and review in code |
| Public delivery | PHP renders each request unless cached | Static, ISR or edge via Next.js, CDN-first |
| API | REST plus GraphQL via plugin | REST, GraphQL and a Local API out of the box |
| Drafts, versions, preview | Revisions; preview varies | Drafts, versions, autosave and live preview built in |
| Localisation | Plugins such as WPML and Polylang | Built in, down to field level |
| Exposure to PHP2Shell | Yes, it runs on PHP | No, there is no PHP runtime |
| Best for | Simple sites and plugin-driven builds | Custom sites, apps, multi-channel content and security-sensitive businesses |
Payload removes the PHP runtime and the plugin marketplace entirely, which is the single biggest security difference after PHP2Shell.
WordPress dominates the CMS market, which is why PHP2Shell affected so much of the web According to W3Techs, 59.2% of websites with a known CMS run WordPress. Coverage described PHP2Shell as affecting about 70% of the internet because WordPress and PHP share the same install base. Payload CMS is not affected, because it has no PHP runtime.
Conclusion
PHP2Shell made the cost of WordPress's PHP runtime and plugin model concrete, but the right choice still depends on the site. Simple brochure sites on reputable managed hosting can stay on WordPress. Businesses whose websites carry revenue, personal data or complex content models get a stronger security posture, better Core Web Vitals and lower long-term maintenance from Payload CMS on Next.js. App Corp delivers both a pre-built Payload starter for marketing sites and bespoke Payload platforms for content-heavy products, with fixed, outcome-based pricing and senior engineers on every project.
Frequently Asked Questions
Key Takeaways
- WordPress is still fastest for simple plugin-driven sites; Payload CMS wins on security, performance, custom content models and maintainability
- Payload is open source and TypeScript-native, runs inside a Next.js app since version 3.0, and has no PHP runtime at all
- PHP2Shell showed working exploits against default WordPress installs, and Payload is not exposed because it never executes PHP
- Patchstack research attributes most WordPress vulnerabilities to plugins; Payload extensions are code-reviewed npm packages instead of a marketplace
- Payload access control is written as functions at collection, document and field level, with PostgreSQL row-level security as defence in depth
- Payload was acquired by Figma in June 2025 and remains open source under the MIT license, with weekly npm downloads growing from about 20,000 to 90,000 during 2024