{"id":"CVE-2021-24323","aliases":["EUVD-2022-4599","GHSA-mp46-7x6q-f28m"],"status":"published","title":"Woocommerce \u003c 5.2.0 - Authenticated Stored Cross-Site Scripting (XSS)","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","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00743,"percentile":0.54991,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-05-17T16:48:53Z","modified":"2026-10-24T10:30:49Z","fixes":[{"ecosystem":"Packagist","package":"woocommerce/woocommerce","fixed_in":["5.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"woocommerce/woocommerce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"woocommerce/woocommerce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0"}]}],"versions":["2.6.10","2.6.11","2.6.12","2.6.13","2.6.14","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9","2.7.0-RC1","2.7.0-beta-1","2.7.0-beta-2","2.7.0-beta-3","2.7.0-beta-4","3.0.0","3.0.0-rc.1","3.0.0-rc.2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.0-beta-1","3.1.0-beta.2","3.1.0-rc.1","3.1.0-rc.2","3.1.1","3.1.2","3.2.0","3.2.0-beta.1","3.2.0-beta.2","3.2.0-rc.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.3.0","3.3.0-beta.1","3.3.0-beta.2","3.3.0-rc.1","3.3.0-rc.2","3.3.1","3.3.1-rc.1","3.3.2","3.3.2-rc.1","3.3.3","3.3.4","3.3.5","3.3.6","3.4.0","3.4.0-beta.1","3.4.0-beta.2","3.4.0-rc.1","3.4.0-rc.2","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.4.8","3.5.0","3.5.0-beta.1","3.5.0-rc.1","3.5.0-rc.2","3.5.1","3.5.10","3.5.2","3.5.3","3.5.4","3.5.5","3.5.6","3.5.7","3.5.8","3.5.9","3.6.0","3.6.0-beta1","3.6.0-rc.1","3.6.0-rc.2","3.6.0-rc.3","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7.0","3.7.0-beta.1","3.7.0-rc.1","3.7.0-rc.2","3.7.1","3.7.2","3.7.3","3.8.0","3.8.0-beta.1","3.8.0-rc.1","3.8.0-rc.2","3.8.1","3.8.2","3.8.3","3.9.0","3.9.0-beta.1","3.9.0-beta.2","3.9.0-rc.1","3.9.0-rc.2","3.9.0-rc.3","3.9.0-rc.4","3.9.1","3.9.2","3.9.3","3.9.4","3.9.5","4.0.0","4.0.0-beta.1","4.0.0-rc.1","4.0.0-rc.2","4.0.1","4.0.2","4.0.3","4.0.4","4.1.0","4.1.0-beta.1","4.1.0-beta.2","4.1.0-rc.1","4.1.0-rc.2","4.1.0-rc.3","4.1.1","4.1.2","4.1.2.1","4.1.3","4.1.4","4.2.0","4.2.0-RC.1","4.2.0-RC.2","4.2.0-beta.1","4.2.1","4.2.2","4.2.3","4.2.3.1","4.2.4","4.2.5","4.3.0","4.3.0-beta.1","4.3.0-rc.1","4.3.0-rc.2","4.3.0-rc.3","4.3.1","4.3.2","4.3.3","4.3.4","4.3.4.1","4.3.5","4.3.6","4.4.0","4.4.0-beta.1","4.4.0-rc.1","4.4.1","4.4.2","4.4.2.1","4.4.3","4.4.4","4.5.0","4.5.0-beta.1","4.5.0-rc.1","4.5.0-rc.2","4.5.0-rc.3","4.5.1","4.5.2","4.5.3","4.5.3.1","4.5.4","4.5.5","4.6.0","4.6.0-beta.1","4.6.0-rc.1","4.6.1","4.6.2","4.6.3","4.6.3.1","4.6.4","4.6.5","4.7.0","4.7.0-beta.1","4.7.0-beta.2","4.7.0-rc.1","4.7.1","4.7.1-beta.1","4.7.2","4.7.3","4.7.4","4.8.0","4.8.0-beta.1","4.8.0-rc.1","4.8.0-rc.2","4.8.1","4.8.2","4.8.3","4.9.0","4.9.0-beta.1","4.9.0-rc.1","4.9.0-rc.2","4.9.1","4.9.2","4.9.3","4.9.4","4.9.5","5.0.0","5.0.0-beta.1","5.0.0-beta.2","5.0.0-rc.1","5.0.0-rc.2","5.0.0-rc.3","5.0.1","5.0.2","5.0.3","5.1.0","5.1.0-beta.1","5.1.0-rc.1","5.1.1","5.1.2","5.1.3","5.2.0-beta.1","5.2.0-rc.1","5.2.0-rc.2","v3.2.0-RC1"]}],"products":[{"vendor":"automattic","product":"woocommerce"},{"vendor":"woocommerce","product":"woocommerce"}],"references":[{"url":"https://wpscan.com/vulnerability/6d262555-7ae4-4e36-add6-4baa34dc3010","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24323","tags":["advisory"]},{"url":"https://github.com/woocommerce/woocommerce/commit/6ede8c5f59aec3ca70aa27d1ffd5a6574473f2ce","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mp46-7x6q-f28m"},{"url":"https://github.com/woocommerce/woocommerce","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-24323","title":"Woocommerce \u003c 5.2.0 - Authenticated Stored Cross-Site Scripting (XSS)","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","status":"published","published":"2021-05-17T16:48:53Z","modified":"2024-08-03T19:28:23.704Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2022-4599","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","status":"published","published":"2021-05-17T16:48:53Z","modified":"2024-08-03T19:28:23Z","updated_at":"2026-11-03T03:24:57.947294Z"}],"ghsa":[{"id":"GHSA-mp46-7x6q-f28m","title":"Woocommerce Cross-site Scripting via Additional tax classes field when taxes are enabled","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","status":"published","published":"2022-05-24T19:02:37Z","modified":"2024-01-19T05:05:59Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:31.550603Z"}],"nvd":[{"id":"CVE-2021-24323","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","status":"published","published":"2021-05-17T17:15:08.393Z","modified":"2026-06-17T03:39:49.917Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:53.343329Z"}],"osv":[{"id":"CVE-2021-24323","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","status":"published","published":"2021-05-17T17:15:08.393Z","modified":"2026-10-24T10:30:49.028962149Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-mp46-7x6q-f28m","title":"Woocommerce Cross-site Scripting via Additional tax classes field when taxes are enabled","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","status":"published","published":"2022-05-24T19:02:37Z","modified":"2024-02-16T08:10:50.896819Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:52.170928Z"}]}}
