Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Cybercrime

WordPress Sites Targeted via Vulnerabilities in WooCommerce Discounts Plugin

The owners and administrators of e-commerce websites powered by WordPress and the WooCommerce platform have been warned of attacks exploiting vulnerabilities discovered recently by researchers in a discounts plugin.

The owners and administrators of e-commerce websites powered by WordPress and the WooCommerce platform have been warned of attacks exploiting vulnerabilities discovered recently by researchers in a discounts plugin.

The flaws were identified on August 7 by researchers at web security company WebARX in Discount Rules for WooCommerce, a plugin that has been installed on over 30,000 websites and which allows users to create various types of discounts for their products. The developer patched the vulnerabilities within a week with the release of version 2.1.0.

However, it’s now important that website administrators update the plugin as WebARX says it has been seeing attacks exploiting the vulnerabilities.

The flaws have been described as SQL injection, stored cross-site scripting (XSS) and authorization-related issues. Exploitation of the stored XSS weakness can allow an unauthenticated attacker to execute arbitrary code.

WebARX told SecurityWeek that an attacker looking to exploit the vulnerabilities would first have to crawl the internet for affected WordPress websites by looking for the “woocommerce” string in their source code. Once a potential target has been found, they can send it a malicious payload.

In the attacks observed by WebARX, the cybercriminals are injecting a JavaScript file that redirects visitors to their own site, which most likely contains advertisements and malware.

Advertisement. Scroll to continue reading.

“Since the issue allows the attacker to inject the payload into any template hook(s) they desire, it could be used to trigger other exploits if the site has other vulnerable plugins installed but we have not seen such payload yet,” WebARX explained. “Since HTML/JavaScript can be injected into any template hook, this could be abused to execute unwanted actions on the administration pages of the site and thus potentially leading to remote code execution.”

A study conducted recently by WebARX showed that web professionals are increasingly concerned about website security. Nearly 43% of the respondents who took part in the company’s survey said they had seen an increase in attacks, and a quarter of them had seen a website being hacked in the month leading up to the survey.

The top challenges cited by professionals when dealing with website security were lack of knowledge, blocking and preventing attacks, plugin and third-party code vulnerabilities, software updates, and client education.

Related: WPvivid Backup Plugin Flaw Leads to WordPress Database Leak

Related: Flaw in WordPress Themes Plugin Allowed Hackers to Become Site Admin

Related: WordPress Websites Hacked via Vulnerabilities in Two Themes Plugins

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Jensen Huang has been reinstated as President and CEO at NVIDIA.

Lindsey Cerkovnik has joined Anthropic as Head of Vulnerability Disclosure and Security Community.

Kirsten Davies has been appointed National Cyber Director.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.