GitHub Advisoryadvisory · Packagist

GHSA-mp46-7x6q-f28m Woocommerce Cross-site Scripting via Additional tax classes field when taxes are enabled

MEDIUM Published 2022-05-24 Modified 2024-01-10 Official page ↗
Aliases
CVE-2021-24323
Ecosystem
Packagist
Packages
woocommerce/woocommerce
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-01-10

Affected packages

• Packagist woocommerce/woocommerce: < 5.2.0 → 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

Related

Alias · CVE (1)

  • CVE-2021-24323 When taxes are enabled, the "Additional tax classes" field was not properly sanitised or escaped before being output back in the admin… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References