What Is XML-RPC? Legacy Blog API Risks Explained
What is XML-RPC, where it still runs in blog and enterprise software, why its parsers run before authentication, and how to find and disable unused endpoints.
XML-RPC is a remote procedure call protocol that sends method calls as XML documents over HTTP POST. It dates from 1998 and still ships in blog platforms, content management systems and older enterprise software because desktop publishing clients depend on it. The protocol itself is simple. The risk comes from the parsers behind it, which read and decode the whole request before the application checks who sent it. This article explains what XML-RPC is, where it hides, and how to decide whether to keep it.
What is XML-RPC?
XML-RPC is a specification for calling a function on a remote server by posting an XML document that names the method and lists its parameters. The server runs the method and returns another XML document with the result or a fault. It predates SOAP and REST and uses only HTTP and a small set of value types: integers, strings, booleans, doubles, dates, base64 binary, arrays and structs.
A client call looks like a methodCall element containing a methodName and a params list. The server answers with a methodResponse. Because everything rides on a standard HTTP POST, XML-RPC works through proxies and firewalls without special handling, which is why it spread so widely in the early 2000s.
Where XML-RPC still runs
The most common place to meet XML-RPC today is blog software. The Blogger API and the MetaWeblog API, both built on XML-RPC, let desktop editors such as MarsEdit post and edit entries. WordPress still ships an XML-RPC endpoint, and the Java blog server Apache Roller exposes the same two APIs at /roller-services/xmlrpc.
Beyond blogs, XML-RPC appears in build and project tools, in some monitoring agents, and in enterprise middleware written in Java or Python before JSON became the default. Many of these endpoints are enabled by default and never used. In November 2026, exactly that situation produced a critical, actively exploited flaw in Apache Roller, described in our coverage of Apache Roller CVE-2026-129448.
Why does XML-RPC cause security problems?
XML-RPC endpoints are dangerous for three reasons that have nothing to do with the protocol's age. Authentication is usually carried inside the method parameters, so the server must parse the full request before it can reject a bad caller. Parsers often support non-standard extensions that decode richer data types than the specification allows. And the endpoint is typically mapped at the web server level, so it answers requests even when an application setting says the feature is off.
The Apache Roller case shows all three together. Roller used the Apache XML-RPC library, which supports "vendor extension" value types beyond the standard set. One extension type carries a serialized Java object. Roller's deployment descriptor enabled the extensions even though Roller's own API never used them. The library deserialized that object during parsing, before the Blogger or MetaWeblog handler ever looked at the username and password in the call. The admin toggle for XML-RPC was checked inside the handler too, so turning the feature off in the UI changed nothing for an attacker. The mechanics of why deserializing untrusted bytes leads to code execution are covered in what insecure deserialization is.
The same ordering problem shows up with credential abuse. An XML-RPC login method accepts a username and password with every call, so an attacker can test thousands of passwords against a single endpoint without touching the normal login page or its lockout logic. Some implementations also allow one request to carry many method calls, which multiplies the guesses per request.
How do you find XML-RPC endpoints on your network?
Start with the applications you know ship it: blog platforms, wikis, project trackers and Java web applications with a servlet mapping for an XML-RPC path. Then check web server and reverse proxy access logs for POST requests to paths containing xmlrpc, which will reveal endpoints you did not know were live.
For a Java application on Tomcat, the authoritative record is the application's WEB-INF/web.xml. A servlet-mapping element for an XML-RPC path means the endpoint is reachable regardless of any in-app setting. Read the servlet's init-param entries too; parameters that enable extended types or extensions widen the parser's attack surface. Our guide to reviewing Tomcat access logs after an exploit alert covers how to confirm whether anyone has been posting to those paths.
Should you disable XML-RPC?
If no client uses it, yes. Disable it at the layer that runs first. For a Java application, that means removing or commenting out the servlet mapping in web.xml, or setting the parameter that controls extension types to false, then restarting. For any application, a reverse proxy rule that returns 404 for the path stops the request before the application parser sees it. An in-app toggle is the weakest option, because on many products it is evaluated after the request has already been parsed.
If a desktop client does need the endpoint, limit exposure instead of removing it. Allowlist the client's source addresses at the proxy, log request bodies for that path so you can distinguish a legitimate MetaWeblog call from a probe, and subscribe to the vendor's security list. Treat the endpoint the same way you would treat an SSH port that must stay open: reachable only from where it needs to be.
What XML-RPC teaches about legacy APIs
XML-RPC is one example of a broader pattern: an interface enabled by default to support a client population that has mostly moved on. The cost of leaving it on is invisible until a parser bug appears, and then the exposure is every install that never turned it off. The general argument for removing unused interfaces, and how to do it without breaking the clients that remain, is laid out in why you should switch off unused legacy APIs.