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

- Severity: Medium 6.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-12-13T08:24:49.496Z
- Modified: 2026-06-17T06:59:41.430Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- elliotvs Coupon Affiliates – Affiliate Plugin for WooCommerce: up to 5.16.7.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/66b669ce-142a-48b8-9adf-620657c2db74?source=cve>
- <https://plugins.trac.wordpress.org/browser/woo-coupon-usage/tags/5.16.7/inc/functions/functions-user-coupons.php#L491>
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3207070%40woo-coupon-usage&new=3207070%40woo-coupon-usage&sfp_email=&sfph_mail=#file7>

## Sources

- CVE List: [CVE-2024-12421](https://www.cve.org/CVERecord?id=CVE-2024-12421), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-12421](https://nvd.nist.gov/vuln/detail/CVE-2024-12421), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12421 · Whole record: https://cve.day/CVE-2024-12421.json · Rebuilt by cve.day 2026-11-25T22:58:50.081Z
