CVE-2021-38340 MEDIUM

CVE-2021-38340: Wordpress Simple Shop <= 1.2 Reflected Cross-Site Scripting

Vendor Wordpress Simple Shop
Product Wordpress Simple Shop
Weakness CWE-79 · XSS
Published September 10, 2021
Last update May 2, 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 Wordpress Simple Shop WordPress plugin is vulnerable to Reflected Cross-Site Scripting via the update_row parameter found in the ~/includes/add_product.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

The Simple Shop WordPress plugin 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 the victim's browser. This can lead to session hijacking, credential theft, or defacement. The vulnerability affects the plugin's scope across the site.

What an attacker can do

03Attacker Capabilities

Inject and execute malicious JavaScript in visitors' browsers to steal credentials or hijack sessions.

Potential impact on your site

04Site Impact

Visitors to your site could have their sessions hijacked or credentials stolen if they click attacker-controlled links.

Conditions required to exploit

05Prerequisites

Attacker must trick a site visitor into clicking a malicious link (user interaction required). No authentication needed.

Key dates

06Disclosure timeline

September 10, 2021 CVE published
May 2, 2025 Record updated

Related vulnerabilities

08Related CVE