CVE-2021-39314 MEDIUM

CVE-2021-39314: WooCommerce EnvioPack <= 1.2 Reflected Cross-Site Scripting

Vendor Woocommerce Enviopack
Product WooCommerce EnvioPack
Weakness CWE-79 · XSS
Published December 14, 2021
Last update February 13, 2025

CVSS base score

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

CVSS vector

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

What the vulnerability does

01Description

The WooCommerce EnvioPack WordPress plugin is vulnerable to Reflected Cross-Site Scripting via the dataid parameter found in the ~/includes/functions.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 1.2.

Explanation of Vulnerability in Simple Terms

02Summary

WooCommerce EnvioPack version 1.2 contains a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the site. An attacker can craft a malicious link that, when clicked by a site visitor, executes JavaScript in their browser. This can lead to session hijacking, credential theft, or malware distribution. The vulnerability affects the network and has changed scope, meaning it can impact users beyond the immediate component.

What an attacker can do

03Attacker Capabilities

Inject and execute malicious JavaScript in visitors' browsers via a crafted link.

Potential impact on your site

04Site Impact

Visitors' sessions and credentials can be compromised; malware or phishing content can be injected into pages.

Conditions required to exploit

05Prerequisites

A site visitor must click an attacker-controlled link while logged into or visiting the affected site.

Key dates

06Disclosure timeline

December 14, 2021 CVE published
February 13, 2025 Record updated

Related vulnerabilities

08Related CVE