WordPress GuideSecurity → CIS Benchmarks

CIS benchmarks for WordPress: What it means and where to start

happy owners getting managed wordpress support

WordPress is the most popular website platform in the world—and that makes it a huge target for hackers. If you want to take WordPress security seriously, you might’ve come across something called CIS Benchmarks. But what are they? And how do they help protect your site?

Let’s walk through what CIS Benchmarks are, why they matter for WordPress users, and how you can start using them to improve your site’s security.

What are CIS Benchmarks?

CIS Benchmarks are a collection of best practices for securing systems and software. They’re designed to help you lock down your server or application and reduce the chances of being hacked.

What does CIS stand for?

CIS stands for Center for Internet Security, a nonprofit organization that creates detailed security guidelines for operating systems, software, cloud platforms, and more.

How do CIS Benchmarks work?

Each benchmark is a step-by-step checklist of actions you can take to make a system more secure. They’re created by a global community of security experts and IT professionals, and go through peer review before being published.

Benchmarks are usually divided into two levels:

Why should WordPress users care?

Even though CIS doesn’t have a specific WordPress Benchmark, many WordPress sites run on servers and software that do have official benchmarks—like Linux, Apache, NGINX, PHP, and MySQL. That means you can still use CIS recommendations to secure the environment WordPress runs in.

Does WordPress have its own CIS Benchmark?

No, CIS doesn’t offer a benchmark specifically for WordPress core, themes, or plugins. But that doesn’t mean you’re out of luck.

WordPress typically runs on something called a LAMP or LEMP stack:

Each of those layers has a published CIS Benchmark. By following them, you can improve the security of your WordPress environment from the ground up.

You’ll still need to follow WordPress-specific best practices for things like plugins and user roles, but CIS Benchmarks are an excellent foundation.

7 CIS-based security practices to apply to WordPress

Here’s how to use CIS guidance to harden the server stack that powers your WordPress site. We’ll go layer by layer, starting with the operating system.

1. Harden your Linux server

Most WordPress hosting is built on a Linux-based operating system like Ubuntu, CentOS, or Debian. You can apply these Linux-focused security practices:

2. Secure your PHP settings

PHP is the programming language WordPress runs on. Improper PHP configuration can leave you vulnerable.

To apply these changes:

3. Lock down MySQL or MariaDB

Your WordPress site stores all its content in a MySQL-compatible database. Here’s how to make that safer:

4. Harden Apache or NGINX

Your web server software (Apache or NGINX) controls how traffic reaches your WordPress site. Harden it by:

Most of these can be set in your web server’s main config file or in .htaccess.

5. Configure strong file permissions

CIS recommends minimizing file access wherever possible.

You can set permissions from your terminal or via an FTP client.

6. Enforce HTTPS and use secure headers

Encrypting traffic and securing browser behavior helps protect users.

You can add these headers in your .htaccess file (Apache) or nginx.conf (NGINX).

7. Monitor and log everything

Logging helps you detect and respond to suspicious activity.

Tools that help apply CIS Benchmarks

You don’t have to configure everything manually. These tools can speed things up:

Where CIS Benchmarks fall short for WordPress

CIS Benchmarks are incredibly helpful, but they’re not the whole story.

Use CIS as a base, then add WordPress-specific security practices to fill in the gaps.

Additional resources

Comprehensive guide to securing WordPress with ModSecurity

This guide provides a comprehensive overview of how to use ModSecurity to enhance the security of your WordPress site.

WordPress vulnerability scanners  →

Learn how a WordPress vulnerability scanner protects your site by detecting and addressing security risks early.

Why security matters for WordPress enterprise hosting

Use the blog as your guide to attacks to watch out for, security best practices, and steps to improve the WordPress protection you already have.

Lindsey Miller is the former Partner Manager for Liquid Web Managed WordPress Hosting. She’s been involved in various aspects in the WordPress community for over 7 years and helped start a non-profit teaching kids to code, The Div.