CVE-2024-12421 MEDIUM

CVE-2024-12421: Coupon Affiliates – Affiliate Plugin for WooCommerce <= 5.16.7.1 - Unauthenticated Arbitrary Shortcode Execution and Reflected Cross-Site Scripting

Vendor Elliotvs
Product Coupon Affiliates – Affiliate Plugin for WooCommerce
Weakness CWE-94 · Code injection
Published December 13, 2024
Last update April 8, 2026

CVSS base score

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

CVSS vector

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

What the vulnerability does

01Description

The The Coupon Affiliates – Affiliate Plugin for WooCommerce plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 5.16.7.1. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes. This functionality is also vulnerable to Reflected Cross-Site Scripting. The Cross-Site Scripting was patched in version 5.16.7.1, while the arbitrary shortcode execution was patched in 5.16.7.2.

Explanation of Vulnerability in Simple Terms

02Summary

The Coupon Affiliates plugin for WooCommerce contains a code injection vulnerability in versions up to 5.16.7.1. An unauthenticated attacker can inject and execute arbitrary code through the plugin without user interaction. This allows attackers to read sensitive data or modify site content. Update to a version newer than 5.16.7.1 immediately.

What an attacker can do

03Attacker Capabilities

Inject and execute arbitrary code on the site to read data or modify content.

Potential impact on your site

04Site Impact

Attackers can read sensitive data or alter site content without your knowledge or permission.

Conditions required to exploit

05Prerequisites

Network access only; no authentication or user interaction required.

Key dates

06Disclosure timeline

December 13, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE