{"id":"CVE-2021-24323","aliases":["CVE-2021-24323","GHSA-mp46-7x6q-f28m"],"related":[],"kind":"vulnerability","state":"published","title":"Woocommerce < 5.2.0 - Authenticated Stored Cross-Site Scripting (XSS)","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Cuando la opción taxes está habilitada, el campo \"Additional tax classes\" no es saneado apropiadamente antes de ser devuelto en el panel de administración, permitiendo a usuarios con altos privilegios, tales como el administrador, usar cargas útiles XSS incluso cuando el parámetro unfiltered_html está deshabilitado","source":"nvd"}],"published":"2021-05-17T16:48:53.000Z","modified":"2026-06-17T03:39:49.917Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"5.2.0","fixed":"5.2.0","status":"affected"}],"vendor":"Automattic","product":"WooCommerce","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.2.0"}],"ecosystem":"Packagist","package":"woocommerce/woocommerce","purl":"pkg:composer/woocommerce/woocommerce","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.2.0"}],"vendor":"woocommerce","product":"woocommerce","cpe":"cpe:2.3:a:woocommerce:woocommerce:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/6d262555-7ae4-4e36-add6-4baa34dc3010","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24323","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/woocommerce/woocommerce/commit/6ede8c5f59aec3ca70aa27d1ffd5a6574473f2ce","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/woocommerce/woocommerce","tags":["package"],"sources":["ghsa"]}],"credits":["m0ze"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24323","url":"https://www.cve.org/CVERecord?id=CVE-2021-24323","licence":"CVE Terms of Use","modified":"2024-08-03T19:28:23.704Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mp46-7x6q-f28m","url":"https://github.com/advisories/GHSA-mp46-7x6q-f28m","licence":"CC-BY-4.0","modified":"2024-02-16T08:10:50.896Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24323","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24323","licence":"Public domain","modified":"2026-06-17T03:39:49.917Z"}],"updatedAt":"2026-11-25T22:58:01.443Z","epss":{"score":0.00743,"percentile":0.55928,"date":"2026-12-01T12:00:22.000Z"}}