WordPress Developer Ukraine, Kyiv
WordPress JWT Authentication: Stateless API Auth Without Cookies

WordPress JWT Authentication: Stateless API Auth Without Cookies

JWT authentication for the WordPress REST API: when it fits and how to do it safely Cookies and nonces authenticate REST requests from the WordPress site itself. A mobile app or a separate frontend needs something else. WordPress core has Application Passwords since 5.6, which work with Basic Auth over HTTPS. JSON Web Tokens are…
WordPress Plugin Security Audit: Static Analysis with RIPS and Semgrep

WordPress Plugin Security Audit: Static Analysis with RIPS and Semgrep

A security review of a WordPress plugin with PHPCS and Semgrep Most vulnerabilities in WordPress plugins belong to a few patterns: output without escaping, input without sanitizing, a missing nonce or capability check, SQL built from variables, a file path from a request. Static analysis tools find many of them in minutes, before a human…
WordPress Multisite Security: Capabilities, Roles, and Audit Logging

WordPress Multisite Security: Capabilities, Roles, and Audit Logging

Multisite permissions: super admins, site admins and what they can do In a single WordPress site, an administrator can do everything. In a Multisite network, there are two levels: super admins manage the network (themes, plugins, sites, users), site administrators manage their own site but cannot install code or add unfiltered HTML. Misunderstanding these levels…
WordPress REST API Hardening: Disable Unused Routes and Rate Limit

WordPress REST API Hardening: Disable Unused Routes and Rate Limit

Harden the WordPress REST API without breaking the editor “Disable the REST API” is common advice and wrong: the block editor, the Site Editor, many plugins and WooCommerce’s checkout blocks run on it. What can be done is smaller and safer: hide the routes that leak data to anonymous visitors, remove routes of features the…