CVE-2021-24323Woocommerce
Medium 4.8
Follow: this CVE · Woocommerce · Woocommerce We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 56
- Auth required
- Yes
- Published
- May 17, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
When taxes are enabled, the "Additional tax classes" field was not properly sanitised or escaped before being output back in the admin dashboard, allowing high privilege users such as admin to use XSS payloads even when the unfiltered_html is disabled
What to do
- Apply the vendor's security update for Woocommerce.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | woocommerce/woocommerce |
< 5.2.0 |
5.2.0 |
composer require "woocommerce/woocommerce:^5.2.0" |
Per OSV / GitHub Advisories (GHSA-mp46-7x6q-f28m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| woocommerce | woocommerce | < 5.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- wpscan.com Exploit Third Party Advisory