{"id":"CVE-2021-38341","aliases":["CVE-2021-38341"],"related":[],"kind":"vulnerability","state":"published","title":"WooCommerce Payment Gateway Per Category <= 2.0.10 Reflected Cross-Site Scripting","summary":"The WooCommerce Payment Gateway Per Category WordPress plugin is vulnerable to Reflected Cross-Site Scripting due to a reflected $_SERVER[\"PHP_SELF\"] value in the ~/includes/plugin_settings.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 2.0.10.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The WooCommerce Payment Gateway Per Category WordPress plugin is vulnerable to Reflected Cross-Site Scripting due to a reflected $_SERVER[\"PHP_SELF\"] value in the ~/includes/plugin_settings.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 2.0.10.","source":"cvelist"},{"lang":"es","text":"El plugin WooCommerce Payment Gateway Per Category de WordPress, es vulnerable a un ataque de tipo Cross-Site Scripting Reflejado debido a un valor $_SERVER[\"PHP_SELF\"] reflejado en el archivo ~/includes/plugin_settings.php que permite a atacantes inyectar scripts web arbitrario, en versiones hasta 2.0.10 incluyéndola","source":"nvd"}],"published":"2021-09-10T13:33:07.295Z","modified":"2026-06-17T04:01:54.207Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"2.0.10","lastAffected":"2.0.10","status":"affected"}],"vendor":"WooCommerce Payment Gateway Per Category","product":"WooCommerce Payment Gateway Per Category","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.0.10"}],"vendor":"dreamfoxmedia","product":"woocommerce_payment_gateway_per_category","cpe":"cpe:2.3:a:dreamfoxmedia:woocommerce_payment_gateway_per_category:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-38341","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wc-payment-gateway-per-category/tags/2.0.10/includes/plugin_settings.php#L31","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["p7e4"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-02T19:50:18.626Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-38341","url":"https://www.cve.org/CVERecord?id=CVE-2021-38341","licence":"CVE Terms of Use","modified":"2025-05-02T19:50:21.274Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-38341","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38341","licence":"Public domain","modified":"2026-06-17T04:01:54.207Z"}],"updatedAt":"2026-11-25T22:58:03.885Z","epss":{"score":0.00938,"percentile":0.61913,"date":"2026-12-01T12:00:22.000Z"}}