Vulnerability · Published May 17, 2021 · Assigned by WPScan

CVE-2021-24323Woocommerce < 5.2.0 - Authenticated Stored Cross-Site Scripting (XSS)

Medium 4.8

In plain English

A medium-severity cross-site scripting in WooCommerce from Automattic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)4.8Medium
Exploit odds (30 days)0.7%top 45.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistwoocommerce/woocommerce5.2.0GHSA-mp46-7x6q-f28m

Affected products (as reported)

VendorProductVersions
Automattic WooCommerce 5.2.0 – before 5.2.0

Weakness: CWE-79

References