{"id":"CVE-2021-38341","aliases":["EUVD-2021-24794","GHSA-c4jw-7285-v92g"],"status":"published","title":"WooCommerce Payment Gateway Per Category \u003c= 2.0.10 Reflected Cross-Site Scripting","description":"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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00938,"percentile":0.61145,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-09-10T13:33:07Z","modified":"2026-06-17T04:01:54Z","products":[{"vendor":"dreamfoxmedia","product":"woocommerce_payment_gateway_per_category"},{"vendor":"woocommerce payment gateway per category","product":"woocommerce payment gateway per category"}],"references":[{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-38341","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/wc-payment-gateway-per-category/tags/2.0.10/includes/plugin_settings.php#L31","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38341"},{"url":"https://github.com/advisories/GHSA-c4jw-7285-v92g"}],"sources":{"cve":[{"id":"CVE-2021-38341","title":"WooCommerce Payment Gateway Per Category \u003c= 2.0.10 Reflected Cross-Site Scripting","description":"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.","status":"published","published":"2021-09-10T13:33:07.295Z","modified":"2025-05-02T19:50:21.274Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:07.349244Z"}],"euvd":[{"id":"EUVD-2021-24794","description":"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.","status":"published","published":"2021-09-10T13:33:07Z","modified":"2025-05-02T19:50:21Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:51:55.340761Z"}],"ghsa":[{"id":"GHSA-c4jw-7285-v92g","title":"The WooCommerce Payment Gateway Per Category WordPress plugin is vulnerable to Reflected Cross...","description":"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.","status":"published","published":"2022-05-24T19:14:10Z","modified":"2023-01-30T05:02:03Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:33.145275Z"}],"nvd":[{"id":"CVE-2021-38341","description":"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.","status":"published","published":"2021-09-10T14:15:10.327Z","modified":"2026-06-17T04:01:54.207Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:58.502206Z"}]}}
