CVE-2024-8716 MEDIUM

CVE-2024-8716: XT Ajax Add To Cart for WooCommerce <= 1.1.2 - Reflected Cross-Site Scripting

Vendor Xplodedthemes
Product XT Ajax Add To Cart for WooCommerce
Weakness CWE-79 · XSS
Published September 24, 2024
Last update April 8, 2026

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 XT Ajax Add To Cart for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg without appropriate escaping on the URL in all versions up to, and including, 1.1.2. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Explanation of Vulnerability in Simple Terms

02Summary

The XT Ajax Add To Cart for WooCommerce plugin contains a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the site. An attacker can craft a malicious link or page that, when visited by a site user, executes JavaScript in their browser. This can lead to session hijacking, credential theft, or malware distribution. The vulnerability affects all versions up to and including 1.1.2.

What an attacker can do

03Attacker Capabilities

Inject and execute malicious JavaScript in visitors' browsers to steal session cookies, credentials, or redirect users.

Potential impact on your site

04Site Impact

Visitors to your site could have their sessions hijacked or credentials stolen if they interact with attacker-controlled content.

Conditions required to exploit

05Prerequisites

Attacker crafts a malicious link or page; a site visitor must click it or visit the page (no authentication required).

Key dates

06Disclosure timeline

September 24, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE