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

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-17T16:48:53.000Z
- Modified: 2026-06-17T03:39:49.917Z
- Also known as: GHSA-mp46-7x6q-f28m
- Weaknesses: CWE-79
- Assigned by: WPScan

## 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

(As written by CVE List.)

## Affected

- Automattic WooCommerce: from 5.2.0 before 5.2.0
- woocommerce/woocommerce (Packagist): before 5.2.0
- woocommerce woocommerce: before 5.2.0

## Every score

- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## 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)

## Sources

- CVE List: [CVE-2021-24323](https://www.cve.org/CVERecord?id=CVE-2021-24323), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-mp46-7x6q-f28m](https://github.com/advisories/GHSA-mp46-7x6q-f28m), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-24323](https://nvd.nist.gov/vuln/detail/CVE-2021-24323), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24323 · Whole record: https://cve.day/CVE-2021-24323.json · Rebuilt by cve.day 2026-11-25T22:58:01.443Z
