CVE-2024-4895 MEDIUM

CVE-2024-4895: wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin <= 3.4.2.12 - Unauthenticated Stored Cross-Site Scripting via CSV Import

Vendor Wpdatatables
Product wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin
Weakness CWE-79 · XSS
Published May 23, 2024
Last update April 8, 2026

CVSS base score

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

CVSS vector

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

What the vulnerability does

01Description

The wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the CSV import functionality in all versions up to, and including, 3.4.2.12 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Explanation of Vulnerability in Simple Terms

02Summary

wpDataTables versions up to 3.4.2.12 contain a stored cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in the browsers of site visitors or administrators. The vulnerability requires user interaction and affects the integrity and confidentiality of data viewed through the plugin. Update to a version newer than 3.4.2.12 to remediate.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in visitors' browsers when they view affected tables.

Potential impact on your site

04Site Impact

Visitors and admins viewing tables may have their sessions hijacked or credentials stolen via injected scripts.

Conditions required to exploit

05Prerequisites

User interaction required; attacker needs network access and ability to craft a malicious request.

Key dates

06Disclosure timeline

May 23, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE