Over 7 Million Websites Are Affected By Flaws In Two Common Wordpress Plugins

It goes without saying that the vast majority of websites on the Internet are created using WordPress.Elementor and WP Super Cache plugins are two of the most commonly used plugins for creating websites on WordPress, and Wordfence researchers have now found a flaw in this plugin.

The Hacker News website points out that it is even possible to gain admin access to the site using this vulnerability, and if you use one of these plugins, they are advised to update to the latest version as soon as possible.

This vulnerability has been fixed in version 3.1.4 of the Elementor plugin and version 1.7.2 of the WP Super Cache plugin, the main vulnerability being the ability to perform cross-site scripting (XSS) attacks.

Most of the articles written by a normal user on a WordPress website are reviewed by an admin or an editor, and when opening the relevant articles for such review, another admin user can create an XSS attack using the admin session automatically.

Multiple HTML elements, including Heading, Column, Accordion, Icon Box, and Image Box, have been discovered to be vulnerable to the stored XSS attack, allowing any user to access the Elementor editor and add an executable JavaScript.

Given that the vulnerabilities take advantage of the fact that dynamic data entered in a template can be used to contain malicious scripts intended to launch XSS attacks, such actions can be prevented by validating the input and escaping the output data, rendering the HTML tags passed as inputs harmless.

“Since posts created by contributors are typically reviewed by editors or administrators before publishing, any JavaScript added to one of these posts would be executed in the reviewer’s browser,” Wordfence said in a technical write-up. “If an administrator reviewed a post containing malicious JavaScript, their authenticated session with high-level privileges could be used to create a new malicious administrator, or to add a backdoor to the site. An attack on this vulnerability could lead to site takeover.”

To minimize the risk associated with the flaws, users of the plugins are advised to upgrade to the most recent versions.

Helping Organizations on Their Journey of Digital Transformation. https://www.rjs.world