# CVE-2021-4391: Ultimate Gift Cards for WooCommerce <= 2.1.1 - Cross-Site Request Forgery Bypass

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-01T04:26:49.143Z
- Modified: 2026-06-17T04:19:39.667Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The Ultimate Gift Cards for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.1.1. This is due to missing or incorrect nonce validation on the mwb_wgm_save_post() function. This makes it possible for unauthenticated attackers to modify product gift card details via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

(As written by CVE List.)

## Affected

- wpswings Ultimate Gift Cards for WooCommerce: up to 2.1.1
- wpswings ultimate_gift_cards_for_woocommerce: before 2.1.2

## References

- <https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-1/> (exploit, technical-description, third-party-advisory)
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2da322ea-0206-4838-8ac4-9dd201bb00bc?source=cve> (third-party-advisory)
- <https://blog.nintechnet.com/25-wordpress-plugins-vulnerable-to-csrf-attacks/> (not-applicable)
- <https://blog.nintechnet.com/more-wordpress-plugins-and-themes-vulnerable-to-csrf-attacks/> (not-applicable)
- <https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-3/> (not-applicable)
- <https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-2/> (not-applicable)
- <https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-5/> (not-applicable)
- <https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-4/> (not-applicable)
- <https://plugins.trac.wordpress.org/browser/woo-gift-cards-lite/tags/2.1.2/admin/class-woocommerce-gift-cards-lite-admin.php?rev=2549904#L461> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-4391 · Whole record: https://cve.day/CVE-2021-4391.json · Rebuilt by cve.day 2026-11-25T22:24:37.192Z
