Live threats

All CVEs / Woocommerce

CVE-2021-24323Woocommerce

Medium 4.8

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Woocommerce.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
woocommercewoocommerce< 5.2.0

Official sources

References

Links published by the sources. Open them with care.