Critical security flaw in WooCommerce Payments plugin for WordPress puts 500,000 websites at risk

A serious security vulnerability has been discovered in the WooCommerce Payments plugin for WordPress, which could allow a hacker to gain unauthorized admin access to impacted online stores. Over 500,000 websites use this plugin, and if left unresolved, the flaw could lead to a catastrophic loss of personal and financial data. In this article, we will explore the details of this critical security flaw.

According to a security advisory released by WooCommerce, the flaw resides in a PHP file called “class-platform-checkout-session.php.” The vulnerability could allow an unauthenticated attacker to impersonate an administrator and take over a website entirely without any user interaction or social engineering being required.

Explanation of how the flaw could enable unauthorized admin access

The vulnerability in the WooCommerce Payments plugin arises from an insecure default configuration. The plugin creates a default administrator user account during the installation process, and this account has minimal security settings. A hacker could exploit this weakness by using a specially crafted HTTP POST request to modify the user’s role and gain admin access.

Details on the vulnerable PHP file

The PHP file “class-platform-checkout-session.php” is responsible for managing the payment checkout process in WooCommerce. It contains a function that creates the default administrator user account during the installation of the plugin. Hackers can manipulate this function to gain admin access.

Credit goes to Michael Mazzolini of GoldNetwork for discovering and reporting the flaw

The vulnerability was discovered and reported by Michael Mazzolini, a penetration tester at the Swiss firm GoldNetwork. Mazzolini’s discovery highlights the importance of constant vigilance in cybersecurity.

Collaboration between WooCommerce and WordPress to auto-update affected software versions

WooCommerce worked with WordPress to release a series of patches that will automatically update all sites using affected versions of the software. These updates include versions 4.8.2, 4.9.1, 5.0.4, 5.1.3, 5.2.2, 5.3.1, 5.4.1, 5.5.2, and 5.6.2. While these updates should protect the system, businesses still need to be vigilant in securing their websites.

There is a lack of evidence of active exploitation of the vulnerability

Thankfully, there is no evidence that the vulnerability has been actively exploited to date. However, this may change, and it highlights why companies must be proactive when it comes to website security.

Disabling the WooPay Beta Program due to its potential impact on the payment checkout service

In response to the vulnerability, the maintainers of the WooCommerce Payments plugin are disabling the WooPay beta program, which could be affected by the security defect. While this disrupts the beta program, it’s a necessary step towards protecting users and preventing a data breach.

Recommendations for users

Businesses that use the WooCommerce Payments plugin are urged to take immediate steps to secure their sites. Firstly, they should check the site for newly added admin users. If present, they should change all administrator passwords and rotate payment gateway and WooCommerce API keys. Additionally, businesses should contact their payment processor and ensure that all transactions are being processed correctly.

This critical security flaw in the WooCommerce Payments plugin underscores the need for constant vigilance in today’s digital economy. While patches have been released, businesses must take proactive measures to continually secure their websites. By doing so, they can prevent the loss of personal and financial data and protect their reputation.

Explore more

Content Marketing Trends 2025: Trust, AI, and Data Storytelling

As the digital landscape continues to evolve, content marketing is undergoing significant transformations, paving the way for innovative strategies that prioritize trust, data storytelling, and artificial intelligence. A recent study by Statista, pulling insights from a survey of more than 300 marketing professionals in the United States, reveals that brands are adapting to this dynamic environment by focusing on new

How is Digitalization Revolutionizing Small Traders in Vietnam?

In Vietnam, digitalization has emerged as a transformative force reshaping the landscape for small traders and household businesses. The introduction of Government Decree No. 70/2025/ND-CP stands at the forefront of this digital wave, mandating that businesses in specific sectors earning over 1 billion VND annually adopt e-invoices integrated with cash registers. This change aligns with national efforts to formalize and

Is Digital Innovation Revolutionizing Indonesian Retail?

Indonesia’s retail sector is experiencing a profound transformation fueled by digital innovation and technological advancements, reshaping the landscape at an unprecedented pace. This revolution is marked by the integration of artificial intelligence (AI) and the implementation of omnichannel strategies that drive growth and enhance customer experiences. Industry leaders and experts gathered at the Retail Asia Summit – Indonesia to explore

Digital Transformation in UK Public Sector Faces Key Challenges

As the UK public sector seeks to navigate the complexities of digital transformation, notable obstacles have emerged, centering around digital literacy and leadership. Research conducted by Granicus has highlighted that a significant portion of public sector employees—25%—view a lack of digital literacy as a critical barrier to progress. While technological advancement remains a focal point, the importance of equipping individuals

How Is AI Revolutionizing Digital Marketing Strategies?

The Role of AI in Content Creation and Optimization In an era where digital content reigns supreme, AI plays a transformative role by not just enhancing but redefining content creation and optimization strategies. AI technologies facilitate the creation of personalized content that resonates with diverse audiences, transcending traditional group-based targeting. For example, email marketing campaigns that leverage AI can dynamically