WordPress RSS and Atom Feed Escaping

Published on 26 Jun 2018
Vulnerability

RSS stands for “Rich Site Summary” and “Really Simple Syndication”. It is used for automated reading and transmitting news. The RSS field in written in XML. To use RSS, the RSS aggregator is used. The Atom Syndication Format is an XML language used for web feeds. It is a simple HTTP-based protocol for creating and updating web resources. The old versions of WordPress(1.5.0-4.9) are vulnerable to feed escape. It does not properly restrict enclosures in RSS and Atom fields. This in turn allowing attackers to conduct Cross-Site Scripting attacks in which malicious scripts can be injected. This cause leakage of cookies, session tokens, or other sensitive information retained by the client. The attributes of the enclosures are not correctly escaped in RSS and Atom feeds. These feeds are present in the wp-includes/feed.php file. This method might allow an attacker to exploit XSS via a crafted URL.

Impact and Fixes

Jijith Rajan
Written by
Cyber Security Engineer

His passion for staying abreast of the latest security threats and trends, coupled with his hands-on experience, allows him to actively contribute to the protection of digital assets. Jijith's dedication and enthusiasm make him a promising talent in the ever-evolving realm of cybersecurity, promising a safer digital future.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo