CVE-2021-3120Yithemes Yith Woocommerce Gift Cards
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Yithemes · Yithemes Yith Woocommerce Gift Cards We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.1
- 9.8
- EPSS
- 36.8% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Feb 22, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An arbitrary file upload vulnerability in the YITH WooCommerce Gift Cards Premium plugin before 3.3.1 for WordPress allows remote attackers to achieve remote code execution on the operating system in the security context of the web server. In order to exploit this vulnerability, an attacker must be able to place a valid Gift Card product into the shopping cart. An uploaded file is placed at a predetermined path on the web server with a user-specified filename and extension. This occurs because the ywgc-upload-picture parameter can have a .php value even though the intention was to only allow uploads of Gift Card images.
What to do
- Apply the vendor's security update for Yith Woocommerce Gift Cards.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yithemes | yith_woocommerce_gift_cards | < 3.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- yithemes.com Vendor Advisory