Woocommerce Cross-site Scripting via Additional tax classes field when taxes are enabled
Date: 2022-05
Affected: composer/woocommerce/woocommerce
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2021-24323
CWE: CWE-79
CVSS: 4.8 (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N)

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


Mitigations:

Architectural layers (MAESTRO):