{
    "title": "XML-RPC",
    "seo_title": "XML-RPC: definition, how it works and risks",
    "h1": "XML-RPC",
    "description": "XML-RPC definition: a remote procedure call protocol over XML, the role of xmlrpc.php in WordPress, legitimate uses and risks (brute force, pingbacks).",
    "lead": "XML-RPC is a protocol for calling functions remotely through XML messages. In WordPress, the xmlrpc.php file lets you publish from an external application and receive pingbacks; enabled by default, it is also a frequent target of password-guessing attempts and pingback abuse.",
    "language": "en",
    "locale": "en-US",
    "type": "definition",
    "url": "https://www.wp-feint.com/glossary/xml-rpc/",
    "canonical": "https://www.wp-feint.com/glossary/xml-rpc/",
    "markdown": "https://www.wp-feint.com/glossary/xml-rpc/index.md",
    "json": "https://www.wp-feint.com/glossary/xml-rpc/index.json",
    "published": "2026-10-28T08:00:00+00:00",
    "modified": "2026-11-22T12:08:54+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/glossary/xml-rpc/",
            "markdown": "https://www.wp-feint.com/glossary/xml-rpc/index.md",
            "json": "https://www.wp-feint.com/glossary/xml-rpc/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/fr/definitions/xml-rpc/",
            "markdown": "https://www.wp-feint.com/fr/definitions/xml-rpc/index.md",
            "json": "https://www.wp-feint.com/fr/definitions/xml-rpc/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/es/glosario/xml-rpc/",
            "markdown": "https://www.wp-feint.com/es/glosario/xml-rpc/index.md",
            "json": "https://www.wp-feint.com/es/glosario/xml-rpc/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/de/glossar/xml-rpc/",
            "markdown": "https://www.wp-feint.com/de/glossar/xml-rpc/index.md",
            "json": "https://www.wp-feint.com/de/glossar/xml-rpc/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/it/glossario/xml-rpc/",
            "markdown": "https://www.wp-feint.com/it/glossario/xml-rpc/index.md",
            "json": "https://www.wp-feint.com/it/glossario/xml-rpc/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/pt/glossario/xml-rpc/",
            "markdown": "https://www.wp-feint.com/pt/glossario/xml-rpc/index.md",
            "json": "https://www.wp-feint.com/pt/glossario/xml-rpc/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/nl/woordenlijst/xml-rpc/",
            "markdown": "https://www.wp-feint.com/nl/woordenlijst/xml-rpc/index.md",
            "json": "https://www.wp-feint.com/nl/woordenlijst/xml-rpc/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "XML-RPC"
        },
        {
            "level": 2,
            "text": "What XML-RPC is used for today"
        },
        {
            "level": 2,
            "text": "The risks"
        },
        {
            "level": 2,
            "text": "For WordPress: shutting down or limiting XML-RPC"
        }
    ],
    "body": "XML-RPC started out as a generic protocol: a program sends an XML request naming a method and its parameters, and the server runs it and replies in XML. In WordPress, it takes the form of the `xmlrpc.php` file at the root of the site. It dates from a time when people wrote their posts in desktop software, and it implements the old Blogger, metaWeblog and Movable Type APIs in addition to WordPress's own `wp.*` methods.\n\n## What XML-RPC is used for today\n\n- **Remote publishing** from an app or external tool that authenticates with a username and password.\n- **Receiving pingbacks**, the notifications sent by another blog that links to you (the `pingback.ping` method).\n- **Running certain services**, including Jetpack, whose connection to WordPress.com goes through `xmlrpc.php`.\n\nSince the REST API arrived in core, most of these needs have a more modern solution. Many sites no longer use XML-RPC at all, yet it remains enabled by default.\n\n## The risks\n\nThe official WordPress documentation names `xmlrpc.php` as a frequent [brute-force](https://www.wp-feint.com/glossary/brute-force-attack/) target: every publishing call accepts a username and password, with no page to load and no cookie. In October 2015, Sucuri described attacks that used the `system.multicall` method to test hundreds of passwords in a single HTTP request. WordPress 4.4 limited this amplification: after one authentication failure, the following calls in the same request fail too. The method nevertheless remains a source of load and a common reason for blocking at the firewall level.\n\nPingbacks raise another problem. To verify a pingback, WordPress fetches the page that claims to link to it, at an address supplied by the sender. Thousands of sites can thus be used as relays in a [DDoS attack](https://www.wp-feint.com/glossary/ddos-attack/) against a single victim, without having been hacked.\n\n![Three-column table: legitimate uses of xmlrpc.php (publishing from an app, Jetpack, pingbacks, older management tools), common abuse (password guessing, system.multicall, abused pingbacks, server load) and defenses (blocking the file, removing pingback.ping, application passwords and 2FA, server or CDN rule)](https://www.wp-feint.com/media/2026/10/xml-rpc-usages-risques-en.webp)\n\n## For WordPress: shutting down or limiting XML-RPC\n\nAn often misunderstood point: the `xmlrpc_enabled` filter doesn't disable XML-RPC. Its documentation states that it only turns off methods that require authentication, not pingbacks. Depending on your use:\n\n- **No use at all**: block `xmlrpc.php` at the server or CDN level (a `<Files \"xmlrpc.php\">` block on Apache, `location = /xmlrpc.php { deny all; }` on Nginx). It is the only method that also spares PHP the load.\n- **Jetpack**: the same block, with an exception for the IP addresses published by Jetpack.\n- **Remote publishing**: keep the file, remove `pingback.ping` with the `xmlrpc_methods` filter, and use application passwords, which can be revoked one by one.\n\nAfter the change, open `/xmlrpc.php` in a private window: the response should be 403 or 404. Our article [XML-RPC on WordPress: risks, uses and disabling it](https://www.wp-feint.com/wordpress-xml-rpc-risks/) compares the methods in detail. If you keep XML-RPC, [two-factor authentication](https://www.wp-feint.com/glossary/two-factor-authentication/) on publishing accounts makes stolen passwords far less useful.\n\n*Video: “STOP Hackers! Disable XML-RPC in WordPress (Simple Guide)” (Key2Blogging)*\n\nWP Feint's [Hardening](https://www.wp-feint.com/features/hardening/) module handles XML-RPC in the free version: a first level removes the pingback methods, the next makes `xmlrpc.php` return a 404 error, with a warning that Jetpack and some apps will stop working. Since the blocking is done by WordPress, PHP still runs: a server or CDN rule removes that load as well. Requests to the closed URL are counted as a [bot trap](https://www.wp-feint.com/glossary/honeypot/).\n\n## Related terms\n\n- [Brute-force attack](https://www.wp-feint.com/glossary/brute-force-attack/)\n- [DDoS attack](https://www.wp-feint.com/glossary/ddos-attack/)\n- [Two-factor authentication (2FA)](https://www.wp-feint.com/glossary/two-factor-authentication/)\n- [User enumeration](https://www.wp-feint.com/glossary/user-enumeration/)\n- [Honeypot](https://www.wp-feint.com/glossary/honeypot/)\n- [WAF (web application firewall)](https://www.wp-feint.com/glossary/waf/)\n\n\n## Sources\n\n- [WordPress Developer Resources : filtre xmlrpc_enabled](https://developer.wordpress.org/reference/hooks/xmlrpc_enabled/)\n- [WordPress Developer Resources : Brute Force Attacks](https://developer.wordpress.org/advanced-administration/security/brute-force/)\n- [Sucuri : Brute Force Amplification Attacks Against WordPress XMLRPC (octobre 2015)](https://blog.sucuri.net/2015/10/brute-force-amplification-attacks-against-wordpress-xmlrpc.html)\n- [WordPress Developer Resources : XML-RPC WordPress API](https://developer.wordpress.org/apis/xml-rpc/)",
    "definition": "XML-RPC is a protocol for calling functions remotely through XML messages. In WordPress, the xmlrpc.php file lets you publish from an external application and receive pingbacks; enabled by default, it is also a frequent target of password-guessing attempts and pingback abuse.",
    "group": "Web security",
    "aka": [
        "xmlrpc.php",
        "XML Remote Procedure Call",
        "pingback"
    ],
    "related": [
        {
            "title": "Brute-force attack",
            "url": "https://www.wp-feint.com/glossary/brute-force-attack/",
            "markdown": "https://www.wp-feint.com/glossary/brute-force-attack/index.md"
        },
        {
            "title": "DDoS attack",
            "url": "https://www.wp-feint.com/glossary/ddos-attack/",
            "markdown": "https://www.wp-feint.com/glossary/ddos-attack/index.md"
        },
        {
            "title": "Two-factor authentication (2FA)",
            "url": "https://www.wp-feint.com/glossary/two-factor-authentication/",
            "markdown": "https://www.wp-feint.com/glossary/two-factor-authentication/index.md"
        },
        {
            "title": "User enumeration",
            "url": "https://www.wp-feint.com/glossary/user-enumeration/",
            "markdown": "https://www.wp-feint.com/glossary/user-enumeration/index.md"
        },
        {
            "title": "Honeypot",
            "url": "https://www.wp-feint.com/glossary/honeypot/",
            "markdown": "https://www.wp-feint.com/glossary/honeypot/index.md"
        },
        {
            "title": "WAF (web application firewall)",
            "url": "https://www.wp-feint.com/glossary/waf/",
            "markdown": "https://www.wp-feint.com/glossary/waf/index.md"
        }
    ],
    "sources": [
        {
            "title": "WordPress Developer Resources : filtre xmlrpc_enabled",
            "url": "https://developer.wordpress.org/reference/hooks/xmlrpc_enabled/"
        },
        {
            "title": "WordPress Developer Resources : Brute Force Attacks",
            "url": "https://developer.wordpress.org/advanced-administration/security/brute-force/"
        },
        {
            "title": "Sucuri : Brute Force Amplification Attacks Against WordPress XMLRPC (octobre 2015)",
            "url": "https://blog.sucuri.net/2015/10/brute-force-amplification-attacks-against-wordpress-xmlrpc.html"
        },
        {
            "title": "WordPress Developer Resources : XML-RPC WordPress API",
            "url": "https://developer.wordpress.org/apis/xml-rpc/"
        }
    ],
    "format": "application/json"
}