Vulnerability Report
Plugin Critical Patch path listed CVE-2021-3120

YITH WooCommerce Gift Cards Premium <= 3.3.0 - Arbitrary File Upload

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.

Quick Answer

CVE-2021-3120 is a critical severity with CVSS 9.8 Remote Code Execution issue affecting the Plugin YITH WooCommerce Gift Cards Premium. It affects Versions before 3.3.1 and is fixed in 3.3.1.

Published
Jan 27, 2021
Last Updated
Jan 22, 2024
Slug
yith-woocommerce-gift-cards-premium
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 3.3.1, or a newer patched version
Operator Briefing

CVE-2021-3120 is tracked for the Plugin YITH WooCommerce Gift Cards Premium as critical severity with CVSS 9.8. The affected range is Versions before 3.3.1. Update YITH WooCommerce Gift Cards Premium to 3.3.1 or newer where that version is compatible with the site.

Issue Type
Remote Code Execution
Primary Fixed Version
3.3.1
Primary Affected Range
Versions before 3.3.1
Tracking ID
CVE-2021-3120
Detailed Metadata
Software Type Plugin
Software Slug
yith-woocommerce-gift-cards-premium View on wordpress.org
CVE CVE-2021-3120
Patched Versions
3.3.1
Affected Versions
Versions before 3.3.1
Related CVE Cluster

Related CVEs for YITH WooCommerce Gift Cards Premium

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more