CVE-2021-24323
MEDIUM 4.8CVSS 3.1Woocommerce Cross-site Scripting via Additional tax classes field when taxes are enabled
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
- Published
- 17 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- contact@wpscan.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-mp46-7x6q-f28m
- Sources
- NVDJSONOSV GHSA-mp46-7x6q-f28mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | woocommerce | woocommercecpe:2.3:a:woocommerce:woocommerce:*:*:*:*:*:wordpress:*:* |
< 5.2.0 | 5.2.0 |
| OSV | Packagist | woocommerce/woocommerce | < 5.2.0 | 5.2.0 |
References
- https://wpscan.com/vulnerability/6d262555-7ae4-4e36-add6-4baa34dc3010 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-24323 · ADVISORY
- https://github.com/woocommerce/woocommerce/commit/6ede8c5f59aec3ca70aa27d1ffd5a6574473f2ce · WEB
- https://github.com/woocommerce/woocommerce · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 May 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)