WooCommerce <= 6.5.1 - Authenticated (Admin+) HTML Injection

5.5
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2022-2099
CVSS 5.5 (Medium)
Publicly Published June 20, 2022
Last Updated May 31, 2024
Researcher Taurus Omar

Description

The WooCommerce plugin for WordPress is vulnerable to Stored HTML Injection via payment gateway titles in versions up to 6.6.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with high-level capabilities, such as a Store Manager, 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 6.6.0, or a newer patched version
Affected Version
  • < 6.6.0
Patched Version
  • 6.6.0

Recent vulnerabilities in WooCommerce

# Title CVE ID CVSS Researchers Date
1 WooCommerce < 10.5.3 - Cross-Site Request Forgery CVE-2026-3589 4.3 oolongeya March 10, 2026
2 WooCommerce <= 10.4.2 - Authenticated (Subscriber+) Information Exposure CVE-2025-15033 4.3 Peter Stöckli, Man Yue Mo December 22, 2025
3 WooCommerce <= 10.0.2 - Authenticated (Shop manager+) Stored Cross-Site Scripting CVE-2025-49042 4.4 SavPhill (Savphill) October 29, 2025
4 WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting CVE-2025-5062 6.1 Antonio Rocco Spataro May 21, 2025
5 WooCommerce <= 9.7.0 - Authenticated (Shop Manager+) Stored Cross-Site Scripting CVE-2025-26762 4.4 SavPhill (Savphill) March 12, 2025
6 WooCommerce <= 9.0.2 - Unauthenticated HTML Injection CVE-2024-9944 5.3 drop October 14, 2024
7 WooCommerce <= 9.1.2 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2024-39666 4.4 stealthcopter August 16, 2024
8 WooCommerce <= 8.9.2 - Authenticated (Shop Manager+) Content Injection CVE-2024-35777 2.7 SavPhill (Savphill) June 27, 2024
9 WooCommerce 8.8.0 - 8.9.2 - Reflected Cross-Site Scripting via Order Attribution CVE-2024-37297 6.1 June 10, 2024
10 WooCommerce <= 8.5.2 - Cross-Site Request Forgery CVE-2024-22155 4.3 Dhabaleshwar Das April 5, 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