CVE-2021-38341 MEDIUM

CVE-2021-38341: WooCommerce Payment Gateway Per Category <= 2.0.10 Reflected Cross-Site Scripting

Vendor Woocommerce Payment Gateway Per Category
Product WooCommerce Payment Gateway Per Category
Weakness CWE-79 · XSS
Published September 10, 2021
Last update May 2, 2025

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 10, 2021 CVE published
May 2, 2025 Record updated