WooCommerce <= 2.6.3 - Stored Cross-Site Scripting via REST-API

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSS 6.4 (Medium)
Publicly Published July 26, 2016
Last Updated January 22, 2024
Researcher Sipke Mellema

Description

The WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the image uploader feature powered by the /wc-api/v3/products/categories/ REST-API in versions up to, and including, 2.6.3 due to insufficient filetype validation. This makes it possible for authenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WooCommerce

Software Type Plugin
Software Slug woocommerce (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.6.4, or a newer patched version
Affected Version
  • < 2.6.4
Patched Version
  • 2.6.4

Recent vulnerabilities in WooCommerce

# Title CVE ID CVSS Researchers Date
1 WooCommerce < 11.1.0 - Unauthenticated Denial of Service CVE-2026-48888 7.5 Ananda Dhakal September 7, 2026
2 WooCommerce <= 10.9.4 - Authenticated (Shop Manager+) SQL Injection CVE-2026-57777 4.9 Ananda Dhakal September 4, 2026
3 WooCommerce < 10.5.3 - Cross-Site Request Forgery CVE-2026-3589 4.3 oolongeya March 10, 2026
4 WooCommerce <= 10.4.2 - Authenticated (Subscriber+) Information Exposure CVE-2025-15033 4.3 Peter Stöckli, Man Yue Mo December 22, 2025
5 WooCommerce <= 10.0.2 - Authenticated (Shop manager+) Stored Cross-Site Scripting CVE-2025-49042 4.4 SavPhill (Savphill) October 29, 2025
6 WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting CVE-2025-5062 6.1 Antonio Rocco Spataro May 21, 2025
7 WooCommerce <= 9.7.0 - Authenticated (Shop Manager+) Stored Cross-Site Scripting CVE-2025-26762 4.4 SavPhill (Savphill) March 12, 2025
8 WooCommerce <= 9.0.2 - Unauthenticated HTML Injection CVE-2024-9944 5.3 drop October 14, 2024
9 WooCommerce <= 9.1.2 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2024-39666 4.4 stealthcopter August 16, 2024
10 WooCommerce <= 8.9.2 - Authenticated (Shop Manager+) Content Injection CVE-2024-35777 2.7 SavPhill (Savphill) June 27, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation