VulnarioBlogWooCommerce vulnerabilities

WooCommerce Vulnerabilities: The 10 Most Critical WooCommerce Security Bugs (CVEs)

WooCommerce vulnerabilities are security flaws in WooCommerce that attackers can abuse to steal data, take over a server or interrupt a service. WooCommerce is the e-commerce plugin that powers many WordPress online stores. The National Vulnerability Database (NVD) lists 19 CVEs for WooCommerce, 0 of them rated critical, and none were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical WooCommerce security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers WooCommerce security basics and a free way to be told about the next WooCommerce CVE as soon as it is published.

Key takeaways

  • No WooCommerce CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 0 WooCommerce CVEs are rated critical (CVSS v3), and 0 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2025-5062, published May 22, 2025.
  • You can monitor WooCommerce for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these WooCommerce CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical WooCommerce CVEs at a glance

Most critical WooCommerce vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2023-522228.8 High2024-01-08Cross-site request forgery (CSRF)No
2CVE-2019-208918.8 High2020-06-19Cross-site request forgery (CSRF)No
3CVE-2017-183568.8 High2019-01-15Code injectionNo
4CVE-2018-207148.1 High2019-01-15Path traversalNo
5CVE-2017-170587.5 High2017-11-29Path traversalNo
6CVE-2025-50626.1 Medium2025-05-22Cross-site scripting (XSS)No
7CVE-2024-99446.1 Medium2024-10-15Cross-site scripting (XSS)No
8CVE-2019-91686.1 Medium2019-02-26Cross-site scripting (XSS)No
9CVE-2015-23296.1 Medium2018-02-08Cross-site scripting (XSS)No
10CVE-2024-372975.4 Medium2024-06-12Cross-site scripting (XSS)No

Each WooCommerce CVE explained

1. CVE-2023-52222: Cross-site request forgery (CSRF)

  • CVSS 8.8 High
  • Published 2024-01-08
  • CWE-352
What NVD says
Cross-Site Request Forgery (CSRF) vulnerability in Automattic WooCommerce.This issue affects WooCommerce: from n/a through 8.2.2.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
up to and including 8.2.2
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2023-52222 (opens in a new tab)

2. CVE-2019-20891: Cross-site request forgery (CSRF)

  • CVSS 8.8 High
  • Published 2020-06-19
  • CWE-352
What NVD says
WooCommerce before 3.6.5, when it handles CSV imports of products, has a cross-site request forgery (CSRF) issue with resultant stored cross-site scripting (XSS) via includes/admin/importers/class-wc-product-csv-importer-controller.php.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 3.6.5
What to do
Upgrade to 3.6.5 or a later release, then restart the service.

NVD record for CVE-2019-20891 (opens in a new tab)

3. CVE-2017-18356: Code injection

  • CVSS 8.8 High
  • Published 2019-01-15
  • CWE-94
What NVD says
In the Automattic WooCommerce plugin before 3.2.4 for WordPress, an attack is possible after gaining access to the target site with a user account that has at least Shop manager privileges.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 3.2.4
What to do
Upgrade to 3.2.4 or a later release, then restart the service.

NVD record for CVE-2017-18356 (opens in a new tab)

4. CVE-2018-20714: Path traversal

  • CVSS 8.1 High
  • Published 2019-01-15
  • CWE-22
What NVD says
The logging system of the Automattic WooCommerce plugin before 3.4.6 for WordPress is vulnerable to a File Deletion vulnerability. This allows deletion of woocommerce.php, which leads to certain privilege checks not being in place, and therefore a shop manager can escalate privileges to admin.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on integrity and availability.
Affected versions
before 3.4.6
What to do
Upgrade to 3.4.6 or a later release, then restart the service.

NVD record for CVE-2018-20714 (opens in a new tab)

5. CVE-2017-17058: Path traversal

  • CVSS 7.5 High
  • Published 2017-11-29
  • CWE-22
What NVD says
The WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/woocommerce/templates/emails/plain/ URI, which accesses a parent directory. NOTE: a software maintainer indicates that Directory Traversal is not possible because all of the template files have "if (!defined('ABSPATH')) {exit;}" code
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
Affected versions
up to and including 3.2.6
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2017-17058 (opens in a new tab)

6. CVE-2025-5062: Cross-site scripting (XSS)

  • CVSS 6.1 Medium
  • Published 2025-05-22
  • CWE-79
What NVD says
The WooCommerce plugin for WordPress is vulnerable to PostMessage-Based Cross-Site Scripting via the 'customize-store' page in all versions up to, and including, 9.4.2 due to insufficient input sanitization and output escaping on PostMessage data.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
Affected versions
before 9.3.4; 9.4.0 to before 9.4.3
What to do
Upgrade to the fixed release for your branch (9.3.4, 9.4.3) or a later one, then restart the service.

NVD record for CVE-2025-5062 (opens in a new tab)

7. CVE-2024-9944: Cross-site scripting (XSS)

  • CVSS 6.1 Medium
  • Published 2024-10-15
  • CWE-79
What NVD says
The WooCommerce plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 9.0.2. This is due to the plugin not properly neutralizing HTML elements from submitted order forms. This makes it possible for unauthenticated attackers to inject arbitrary HTML that will render when the administrator views order form submissions.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
Affected versions
before 9.1.0
What to do
Upgrade to 9.1.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-9944 (opens in a new tab)

8. CVE-2019-9168: Cross-site scripting (XSS)

  • CVSS 6.1 Medium
  • Published 2019-02-26
  • CWE-79
What NVD says
WooCommerce before 3.5.5 allows XSS via a Photoswipe caption.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
Affected versions
before 3.5.5
What to do
Upgrade to 3.5.5 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-9168 (opens in a new tab)

9. CVE-2015-2329: Cross-site scripting (XSS)

  • CVSS 6.1 Medium
  • Published 2018-02-08
  • CWE-79
What NVD says
Cross-site scripting (XSS) vulnerability in the WooCommerce plugin before 2.3.6 for WordPress allows remote attackers to inject arbitrary web script or HTML via a crafted order.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
Affected versions
before 2.3.6
What to do
Upgrade to 2.3.6 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2015-2329 (opens in a new tab)

10. CVE-2024-37297: Cross-site scripting (XSS)

  • CVSS 5.4 Medium
  • Published 2024-06-12
  • CWE-79
What NVD says
WooCommerce is an open-source e-commerce platform built on WordPress. A vulnerability introduced in WooCommerce 8.8 allows for cross-site scripting. A bad actor can manipulate a link to include malicious HTML & JavaScript content. While the content is not saved to the database, the links may be sent to victims for malicious purposes.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and user interaction. It has limited impact on confidentiality and integrity.
Affected versions
8.8 to before 8.8.5; 8.9.0 to before 8.9.3
What to do
Upgrade to the fixed release for your branch (8.8.5, 8.9.3) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-37297 (opens in a new tab)

WooCommerce security checklist

  1. Update the core, themes, plugins and extensions as soon as security releases appear.
  2. Remove plugins, themes and modules you do not use.
  3. Give users the minimum role they need and enable two-factor authentication for administrators.
  4. Keep debug and development modes off in production.
  5. Back up files and database before every update.
  6. Put a web application firewall and rate limiting in front of login pages.

Where you run WooCommerce matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating WooCommerce: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than WooCommerce. A flaw anywhere in the chain can be the way in, so also review our guides to WordPress vulnerabilities, PHP vulnerabilities and MySQL vulnerabilities.

How to get alerted about new WooCommerce vulnerabilities

NVD received 0 new WooCommerce CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose WooCommerce and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run WooCommerce alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about WooCommerce vulnerabilities

What are the most critical WooCommerce vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical WooCommerce CVEs include CVE-2023-52222 (CVSS 8.8), CVE-2019-20891 (CVSS 8.8), CVE-2017-18356 (CVSS 8.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have WooCommerce vulnerabilities been exploited in real attacks?

For the WooCommerce product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep WooCommerce patched.

How many vulnerabilities does WooCommerce have?

As of Nov 3, 2026 the National Vulnerability Database lists 19 CVEs for WooCommerce, with 0 rated critical by CVSS v3. 0 were published in the previous twelve months.

How can I get alerted when a new WooCommerce CVE is published?

Add WooCommerce to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose WooCommerce and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is WooCommerce secure?

WooCommerce is as secure as its patch level. NVD published 0 new WooCommerce CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2023-52222?

CVE-2023-52222 is a high WooCommerce vulnerability with a CVSS score of 8.8, published Jan 8, 2024. Cross-Site Request Forgery (CSRF) vulnerability in Automattic WooCommerce.This issue affects WooCommerce: from n/a through 8.2.2.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.