A burst of requests to WordPress xmlrpc.php does not reveal what the traffic is doing. The same endpoint can receive approved publishing methods, password attacks, and unauthenticated pingback calls. Blocking it immediately may reduce noise, but it can also break an integration while leaving an account or malware problem unresolved.
I’m Ryohei Yokoyama, founder of SiteFixNow. With over 20 years of IT engineering experience and practical WordPress recovery and security cleanup work, I preserve method-level evidence before a broad block hides the difference between credential attacks, pingbacks, and legitimate remote publishing.
- Classify authentication methods, pingback methods, and endpoint noise.
- Collect evidence without storing passwords or full request bodies.
- Choose granular account, WordPress, and firewall controls.
- Verify approved clients and confirm that abuse is actually contained.
WordPress XML-RPC Abuse Must Be Classified by Method
Separate the method from the shared xmlrpc.php path before choosing a control.
WordPress exposes post, media, comment, option, and user methods through one endpoint. Authentication attacks exercise methods that accept a username and password, while pingback.ping takes source and target URLs. Approved remote clients can use authenticated methods too. An XML-RPC fault may appear inside HTTP 200, and an edge firewall may answer before WordPress. Read the method, application result, and control layer together. REST activity under /wp-json/ instead needs the Application Password abuse workflow.
WordPress XML-RPC Logs Must Protect Credentials
Collect method names, outcomes, rates, and timelines without retaining submitted passwords.
Use edge or server logs to establish volume, timing, source patterns, and the responding layer. Ask the host for method-aware telemetry when needed, but do not broadly log request bodies: authenticated XML-RPC calls can contain credentials. The official xmlrpc_call action identifies method names, yet authenticated methods reach it after authentication, so it cannot count every rejected password. Correlate accepted calls with account, content, plugin, and file changes.
timestamp and control layer
privacy-safe source identifier
method name when safely available
fault category, not credentials
rate and affected account
related user, content, or file changeWordPress XML-RPC Dependencies Must Be Confirmed Before Blocking
Inventory every approved remote client and assign a named test owner.
Record each mobile app, editor, management service, or automation owner, purpose, WordPress account, required methods, and functional test. A plugin installation or old allowlist is not proof of current authorization. Before changing production, confirm hosting and file access, back up the database and exact configuration, and define rollback. The security plugin setup guide explains why a known-good login path matters. Test a real private or draft action and record its result and time.

WordPress XML-RPC Login Attacks Require Account Controls
Contain authentication abuse at the edge and account layers; pingback settings will not stop password attempts.
For repeated authentication failures, apply a dependency-aware rate limit or challenge, watch false positives, and keep rollback. Protect targeted accounts with unique passwords, least privilege, and suitable dashboard 2FA, then review users, content, settings, plugins, files, and the credential-holding device. A password reset alone is not proof of cleanup. WordPress documents that xmlrpc_enabled disables authenticated methods but does not control pingbacks, so use it only after approved remote clients pass testing.
<?php
/** Disable authenticated methods after dependency testing. */
add_filter( 'xmlrpc_enabled', '__return_false' );WordPress Pingback Traffic Needs a Separate Control
Review discussion needs and remove pingback methods independently from authenticated publishing.
The pingback.ping method receives source and target URLs. When pings are open, WordPress requests the source page to verify its link, consuming resources without testing a password. Check Settings → Discussion and existing post ping status because the default applies to new articles and can be overridden. If pingbacks are unused, remove only pingback.ping and pingback.extensions.getPingbacks through the documented xmlrpc_methods map, preserving other approved methods.
<?php
/** Remove pingbacks while preserving other methods. */
add_filter( 'xmlrpc_methods', function ( $methods ) {
unset( $methods['pingback.ping'] );
unset( $methods['pingback.extensions.getPingbacks'] );
return $methods;
} );WordPress XML-RPC Controls Must Be Reversible and Verified
Change one layer at a time, prove the intended block, and test every approved client.
WordPress filters, plugins, CDN rules, and web-server rules act at different points. A method filter is granular but reaches PHP; an edge rule can reduce origin load; a server deny blocks every dependency. Do not stack untested controls. Record the owner, affected methods, expiry, expected response, and rollback. If a rule causes access errors, use the WordPress 403 guide before deleting security files.
Repeat the baseline counts, method distribution, authentication outcomes, and worker measurements. Run named functional tests for each approved client, then verify wp-admin, publishing, forms, jobs, and REST features. Monitor for changed paths, unauthorized users, content changes, or integration retries. If access returns elsewhere, reopen the incident and use the post-malware hardening guide for the broader recovery.
WordPress XML-RPC Abuse: Frequently Asked Questions
The method, authentication result, control layer, and dependency inventory must agree.
WordPress XML-RPC Abuse Needs Method-Level Evidence
Classify the method, preserve credentials, confirm dependencies, apply one reversible control, and verify security and function.
The decisive question is not whether xmlrpc.php received traffic. It is which method ran, whether authentication succeeded, what legitimate service depends on it, and which layer can stop the abuse safely. Login attacks and pingback traffic share a path but not a complete remedy.
If successful unauthorized activity, unknown code, or replacement access appears, stop treating the issue as routine bot blocking. Preserve the timeline and obtain WordPress incident-response help before broad changes erase useful evidence.
If You Can’t Secure or Recover Your WordPress Site Yourself
Ask for help when XML-RPC access succeeded, dependencies cannot be verified, or suspicious activity continues through another route.

If your website shows malware warnings, redirects to strange pages, or you are not sure whether it is secure,
SiteFixNow can help clean, repair, and recover your WordPress site.
- Your WordPress site may be infected with malware.
- Security warnings appear in Google or browser results.
- You found unknown admin users or suspicious files.
- The site redirects to spam or unknown websites.
- You need urgent WordPress hacked site repair.
- Reduce visitor risk and SEO damage.
- Find hidden malware and backdoors, not only visible symptoms.
- Recover the site safely without unnecessary data loss.
