CVE-2024-12334 MEDIUM

CVE-2024-12334: WC Affiliate – A Complete WooCommerce Affiliate Plugin <= 2.4 - Reflected Cross-Site Scripting

Vendor Codexpert
Product WC Affiliate – WooCommerce Affiliate Plugin
Weakness CWE-79 · XSS
Published January 26, 2025
Last update April 8, 2026

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 WC Affiliate – A Complete WooCommerce Affiliate Plugin plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via any parameter in all versions up to, and including, 2.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Explanation of Vulnerability in Simple Terms

02Summary

The WC Affiliate plugin for WooCommerce contains a cross-site scripting (XSS) vulnerability in versions 2.4 and earlier. An attacker can inject malicious scripts that execute in the browsers of site visitors, potentially stealing session tokens or redirecting users to phishing sites. The vulnerability requires user interaction—typically clicking a crafted link—and affects the broader site scope beyond the plugin itself.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in visitors' browsers to steal data or redirect them.

Potential impact on your site

04Site Impact

Visitors' browsers can be compromised; session tokens and personal data may be stolen or site reputation damaged.

Conditions required to exploit

05Prerequisites

No authentication required. Victim must click a malicious link or visit an attacker-controlled page.

Key dates

06Disclosure timeline

January 26, 2025 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE