The Biggest Security Risks for WordPress Websites
Outdated Plugins and Themes
The biggest risk lies in extensions. Of the new vulnerabilities found in 2025, 91% were in plugins and 9% in themes; only 6 were reported in the WordPress core itself, all of them low priority (Patchstack). An update only protects you if one exists, though: for 46% of vulnerabilities, no fix from the developer was available at the time of public disclosure (Patchstack). And time is short. Approximately half of high-impact vulnerabilities were exploited within 24 hours of disclosure; weighted by observed attack activity, the median time to first exploit was 5 hours (Patchstack). Anyone who applies updates once a week is therefore regularly too late for the most sought-after flaws.
What XICTRAQ® sees from the outside are the consequences: if a compromised plugin injects third-party scripts or content, the delivered page changes, and the visual changelog with defacement detection makes this visible. If it redirects visitors to foreign sites, the expected keyword is missing on the monitored URL and uptime monitoring reports the failure. If the server address lands on a blocklist, blacklist monitoring raises an alert; if Google Safe Browsing warns about the site, the security scan shows it. XICTRAQ® does not, however, compare the versions of individual plugins against vulnerability databases; you continue to check their update status in the WordPress admin area.
Brute-Force Attacks on wp-login.php
The default login address /wp-login.php is universally known and constantly requested by bots. Automated tools test common usernames such as admin or the domain name with frequent passwords. If an attempt succeeds, the attacker has access to the backend and can install plugins, modify code and steal customer data. Two often overlooked side entrances, the XML-RPC interface and the REST API user list, are covered in the section on external checks.
Countermeasures: long, unique passwords with at least 16 characters and two-factor authentication for every account with administrator rights. Limit login attempts per IP address, for example to five in quick succession, and restrict access to /wp-admin/ and /wp-login.php to known addresses with a server rule wherever operations allow. XICTRAQ® can monitor the login page as a separate subpage: if it suddenly becomes unreachable, this may indicate an attack, a block by the host or a faulty plugin update.
Missing Security Headers
For public pages, WordPress does not set any of the recommended security headers such as Content-Security-Policy or Strict-Transport-Security by default; it only sends X-Frame-Options on its own for the login page and the admin area. This makes WordPress websites more vulnerable to cross-site scripting (XSS), clickjacking and MIME-type sniffing. On top of that, many plugins load their own JavaScript and CSS files, often from third-party domains, which makes a strict Content-Security-Policy laborious.
The security scan checks the headers that are set, evaluates their configuration and lists missing entries. Set the headers in the server configuration (Apache .htaccess or nginx), not through a PHP plugin: if PHP aborts with an error, the headers would otherwise be missing precisely on the error page.
What Can Be Checked from the Outside: Six Checkpoints
Much of what determines the security of a WordPress website can be established from the outside with ordinary HTTP requests, without backend access. The table summarises six checkpoints that, in our experience, often turn something up on installations that have grown over the years.
| Checkpoint | Request | Conspicuous finding | Fix | Monitor continuously |
|---|---|---|---|---|
| XML-RPC | GET /xmlrpc.php | Status 405 with "XML-RPC server accepts POST requests only." | Block with a server rule if no app needs the interface | API check expecting status 403 or 404 |
| User list | GET /wp-json/wp/v2/users, GET /?author=1 | JSON with id, name and slug of author accounts, redirect to the author archive | Block the endpoint for unauthenticated requests, separate display names from login names | API check expecting status 401 to 404 |
| WP-Cron | GET /wp-cron.php | Scheduled tasks depend solely on page views | Set DISABLE_WP_CRON and trigger from the server cron | Heartbeat ping after every run |
| Error log | GET /wp-content/debug.log | Status 200 with PHP messages including timestamps | Switch off WP_DEBUG_LOG, delete the file, block .log files | Security scan, exposed files |
| Config backup | GET /wp-config.php.bak | PHP source code with database credentials | Delete the file, change the credentials | Security scan, critical finding |
| Version disclosure | Homepage, meta name="generator" | Exact WordPress version in the source | Update; removing the generator tag is only cosmetic | Security scan reads the generator tag |
xmlrpc.php: A Second Way to Log In
The XML-RPC interface dates from before the REST API and today mainly serves older apps and individual publishing services. For attackers, it is a second way to log in alongside /wp-login.php: a limit or block that only covers the login page does not apply here. A simple request shows whether it is active: if GET /xmlrpc.php answers with status 405 and the text "XML-RPC server accepts POST requests only.", WordPress accepts calls. If you do not need the interface, block it at server level so that it answers with 403 or 404. An API check with exactly this status expectation then reports when a plugin update or a new server configuration lifts the block again.
User Enumeration via the REST API
Under /wp-json/wp/v2/users, the REST API returns the ID, display name and slug of user accounts in the view context without authentication, usually those who have published posts. According to the REST API Handbook, the login name itself only belongs to the edit context, but unless it is changed, the slug is derived from the login name and therefore often gives it away. The request /?author=1 provides the same clue by redirecting to the author archive including the slug. An attacker then knows the username and only has to guess the password. Block the endpoint for unauthenticated requests unless a theme needs it for author boxes, and keep display names separate from login names. An API check on /wp-json/wp/v2/users expecting "status 401 to 404" fires as soon as the list becomes public again after an update.
WP-Cron: Scheduled Tasks Without Visitors
WP-Cron checks on every page load whether scheduled tasks are due and does not run on its own like a server cron. Tasks such as checking for updates and publishing scheduled posts depend on it. On low-traffic websites, tasks can therefore be delayed by hours, and a page cache that answers requests without PHP can prevent triggering altogether. It is more robust to disable WP-Cron with define('DISABLE_WP_CRON', true); in wp-config.php, trigger wp-cron.php from the server cron at a fixed interval and ping a heartbeat after every run. If the ping does not arrive within the expected interval plus grace period, XICTRAQ® reports the missed run instead of scheduled posts or update checks silently piling up.
Example: An External Check from Finding to Fix
A worked example shows how this fits together. The domain example.com stands for any WordPress website that has grown over the years; the responses are typical findings, not a customer case.
GET https://example.com/ -> 200 <meta name="generator" content="WordPress 6.9">
GET https://example.com/xmlrpc.php -> 405 "XML-RPC server accepts POST requests only."
GET https://example.com/wp-json/wp/v2/users -> 200 [{"id":1,"name":"Editorial","slug":"admin", ...}]
GET https://example.com/wp-content/debug.log -> 200 [14-Nov-2026 22:41:07 UTC] PHP Warning: ...
GET https://example.com/wp-cron.php -> 200 (empty, triggered only by visits)
Homepage headers: strict-transport-security missing, content-security-policy missing
Assessment: error log publicly readable, XML-RPC active, login name readable via the slug,
version 6.9 predates the version 7 series, two security headers missing.The findings carry different weight. The open error log comes first: it can contain paths, plugin names and occasionally credentials, and anyone who knows the address can read it. XML-RPC and the user list follow, because both undermine login protection, then version and headers. The fix in this order:
- Error log: switch off
WP_DEBUG_LOG, delete debug.log and block .log files under wp-content with a server rule. If credentials were in it, they are changed. - XML-RPC: the editorial team only publishes through the browser, so a server rule blocks /xmlrpc.php with status 403.
- User list: the /wp/v2/users endpoint is blocked for unauthenticated requests, and the account with the slug admin is replaced by a new administrator account with a different name and a second factor.
- Version and headers: update to the current major version after a test in the staging environment, then Strict-Transport-Security and a Content-Security-Policy in report-only mode via the server configuration.
- WP-Cron: set
DISABLE_WP_CRON, trigger wp-cron.php from the server cron every five minutes, ping the heartbeat after every run.
The follow-up check the next day shows the target state: /wp-content/debug.log and /xmlrpc.php answer with 403, /wp-json/wp/v2/users with 401, and the homepage carries the new headers. To keep it that way, every fix becomes a permanent check, because a security or cache plugin can rewrite .htaccess during an update and silently lift the block for xmlrpc.php. Which other files turn up in such checks is described in the article on exposed .git and .env files.
External Monitoring: Why Not Just Another Plugin?
Why external monitoring instead of another WordPress plugin? First, every additional plugin is additional attack surface, and security plugins in particular need far-reaching permissions. Second, no installed plugin works anymore when WordPress itself is compromised or the server goes down; an external check detects exactly this situation. Third, plugin-based solutions put load on the server, whereas an external check only makes requests like an ordinary visitor.
XICTRAQ® requests your website like a visitor and evaluates the response: no plugin, no backend access. This also surfaces problems a plugin cannot see: DNS hijacking, expiring SSL certificates, blacklist entries and server outages. External monitoring complements internal measures and closes gaps that plugins do not cover.
Limits of the Outside View
It is just as important to know what an external check cannot do. It sees no complete plugin list and no update status in the admin area. And some malware deliberately shows clean content to scanning tools: Patchstack describes campaigns widespread in 2025 that serve spam to search engine bots and redirect human visitors, while scanners and site owners often see an unremarkable page. Against such cloaking, comparisons from different viewpoints help, for example with a search engine user agent and as an ordinary browser, as does data from real visits. The outside view therefore replaces neither updates nor backups, but it reports promptly when something visible from the outside is no longer right.
SSL and HTTPS: Fundamental Prerequisite for WordPress Security
Encryption belongs on every WordPress website, and not only for security reasons: Google uses HTTPS as a ranking signal, and browsers mark HTTP pages as not secure. Despite this, WordPress regularly runs into problems: expired certificates, mixed content from plugins that insert HTTP URLs, and faulty redirects between HTTP and HTTPS.
XICTRAQ® monitors validity, remaining lifetime, encryption and certificate chain. The advance warning starts at the configured warning period, 14 days before expiry by default, and repeats at 7, 3 and 1 day. This matters more as lifetimes get shorter: from 10 February 2027, Let's Encrypt will switch to certificates with 64-day lifetimes by default (Let's Encrypt). Renewal dates hard-coded into cron jobs will no longer fit, and a failed automatic renewal leads to an outage sooner.
WordPress Updates and Version Control
Since version 3.7, WordPress has updated itself in the background, initially for maintenance and security releases of the core (WordPress.org). Since WordPress 5.5, administrators can additionally switch on automatic updates for each plugin and each theme individually; by default they run twice per day (WordPress.org). And since WordPress 5.6, new installations also have automatic updates for major core releases enabled, unless WordPress detects a version control checkout; existing installations keep their previous behaviour until someone changes the setting (WordPress.org).
The version distribution shows how far the installed base lags behind: 69.8% of WordPress websites run version 7, 23.7% are still on version 6, and the rest on older versions (W3Techs). So check under Dashboard > Updates which type of update is active; older installations only receive new major versions automatically if someone switches this on.
XICTRAQ® reads the version from the generator tag if the page delivers it, and lists a version below 6.0 as an outdated component; it does not check plugins and themes. The consequences of an update matter more: while WordPress is updating, it usually answers with status 503 and a maintenance notice, which XICTRAQ® recognises as maintenance rather than an outage. If an update breaks the site with a fatal PHP error, WordPress answers with status 500 and uptime monitoring raises an alert. Why a visible version number still does not belong in the response is explained in the article on version banners in server headers.
Auto-Updates Without Nasty Surprises
- Set up a backup that can actually be restored before switching on auto-updates.
- Route the email notifications about failed auto-updates to a mailbox that someone reads.
- Test plugins for checkout, forms and login in a staging environment first.
- After every update window, have a subpage without page cache checked, so that a critical error does not stay hidden behind the cache.
New Obligations Since 2026: The Cyber Resilience Act for Plugin Manufacturers
With Regulation (EU) 2024/2847, the Cyber Resilience Act (CRA), manufacturers of products with digital elements, including software, receive binding obligations for handling vulnerabilities. For WordPress, this mainly concerns plugins and themes made available on the EU market in the course of a commercial activity. That includes premium plugins that are sold, but according to recital 15 of the regulation it can also include free ones, for example when a fee is charged for technical support that goes beyond covering the actual costs (Cyber Resilience Act). The reporting obligations already apply: Article 14 has applied since 11 September 2026, and the regulation applies otherwise from 11 December 2027 (Cyber Resilience Act).
Under Article 14, the manufacturer reports an actively exploited vulnerability via the single reporting platform simultaneously to the CSIRT designated as coordinator and to ENISA, the EU Agency for Cybersecurity. Three deadlines apply: an early warning within 24 hours of becoming aware of it, a notification with the available details within 72 hours, and a final report no later than 14 days after a corrective measure is available (Cyber Resilience Act). Comparable reporting channels apply to severe security incidents.
From December 2027, the requirements of Annex I Part II are added. Among other things, manufacturers must then put in place and enforce a policy on coordinated vulnerability disclosure (Cyber Resilience Act, Annex I Part II No. 5) and provide a contact address for reporting vulnerabilities (No. 6). Security updates are to be provided separately from functionality updates where technically feasible (No. 2) and, as a rule, disseminated free of charge (No. 8). The support period during which vulnerabilities are handled is, in principle, at least five years (Cyber Resilience Act, Article 13(8)).
For operators of a WordPress website, the CRA usually does not apply directly; it works through the manufacturers of the extensions they use. This leads to three practical questions when choosing plugins: does the manufacturer name a contact address or a programme for vulnerability reports? Does it publish security updates with understandable notes? And how long does it commit to support? Agencies that market their own plugins under their own name can themselves be manufacturers within the meaning of the regulation, because the definition expressly covers marketing free of charge as well (Cyber Resilience Act). What the reporting obligation means for them in practice is described in the article on the CRA reporting obligation since September 2026; the legal assessment of your own case should be left to qualified experts if in doubt.
Harden WordPress Login and Access Control
Alongside login protection, XML-RPC and the REST API, the file level is part of hardening: wp-config.php to 400 or 440, directories to 755, files to 644. Switch off the file editor in the backend with define('DISALLOW_FILE_EDIT', true); so that a hijacked administrator account cannot write PHP code directly into themes and plugins.
A web application firewall (WAF) filters known attack patterns before they reach WordPress and reduces bot load. It does not replace updates, though: according to Patchstack, flaws in a plugin's authorisation checks often look like ordinary authenticated traffic to a firewall.
Performance Monitoring for WordPress
WordPress websites have their own performance patterns: database queries grow with content and plugins, every plugin can load its own CSS and JavaScript files, and without a page cache every request goes through the full PHP processing chain. This shows clearly in the field: only 45% of mobile WordPress websites achieve good values in all three Core Web Vitals (HTTP Archive Web Almanac 2025). The Web Almanac attributes the large differences between individual WordPress websites more to configuration and tooling than to the core itself, meaning theme, page builder, plugins and hosting.
XICTRAQ® captures the Core Web Vitals from real visits via the cookieless tracker and measures Lighthouse scores over time. This surfaces gradual degradation caused by new plugins, growing databases or changed content, and the history shows after which update load time went up.
WordPress-Specific Compliance Requirements
WordPress websites are subject to the same GDPR requirements as any other website. The particularity: many plugins load external resources without explicit configuration. A form plugin may embed Google reCAPTCHA, a theme may load Google Fonts and a social media plugin may set tracking pixels. Each of these connections can constitute a privacy violation if it is made before consent without a legal basis.
The GDPR compliance check shows which third-party domains your WordPress website contacts while loading, whether cookies are set before consent and whether the legal notice and privacy policy are reachable. This saves a large part of the manual review, which quickly takes hours for a website with many plugins.
What Should Be Monitored Continuously: A Check Schedule
WordPress security is not a single step but a process: internal measures such as passwords, updates and hardened configuration complement monitoring from the outside. As a guide to what should be checked at which interval:
| Interval | Check | Why |
|---|---|---|
| Every minute | Availability of the homepage, the login page and an uncached subpage | Critical errors after updates and database outages are noticed promptly, even behind a page cache |
| After every run | Heartbeat for WP-Cron and backups | Failed tasks report themselves instead of silently piling up |
| Daily | SSL remaining lifetime, blocklists, Safe Browsing status, content changes | See expiring certificates and injected content early |
| Weekly and after updates | Security headers, exposed files, blocks for XML-RPC and the user list | Plugin and server updates occasionally lift blocks and headers again |
| With every vendor advisory | Security notices for the plugins in use, apply the update | Sought-after flaws are often exploited within hours |
XICTRAQ® covers the external side of this schedule: uptime monitoring with subpages and maintenance detection, heartbeats, API checks, the security scan, SSL monitoring and the visual changelog. For agencies that look after many WordPress websites, white-label monitoring bundles the results into reports under their own brand. The free live demo shows what this looks like in the dashboard.
Why are WordPress websites particularly at risk?
Which WordPress risks can be detected from the outside?
How does external monitoring detect a hacked WordPress site?
How do I protect the WordPress login from brute-force attacks?
What does the Cyber Resilience Act change for WordPress websites?
Should I switch on automatic updates for plugins?
This article draws on: W3Techs (Usage Statistics and Market Share of WordPress, retrieved 16 November 2026), Patchstack (State of WordPress Security in 2026, data for 2025), HTTP Archive Web Almanac 2025 (CMS chapter), Regulation (EU) 2024/2847 (Cyber Resilience Act), WordPress.org (documentation on plugin and theme auto-updates, Upgrading WordPress, Plugin Handbook on WP-Cron, REST API Handbook) and Let's Encrypt (announcement of 64-day certificates of 7 October 2026).