Vulnerabilities / TablePress / WPSEC-2026-3529

TablePress <= 3.4.1 - Authenticated (Contributor+) Local File Inclusion via 'datatables_locale' Shortcode Attribute

High 7.5 CWE-98Fixed in 3.5
ID
WPSEC-2026-3529
Plugin
TablePress – Tables in WordPress made easy (tablepress)
Affected
from 2.0 before 3.5
Remediation
Update to 3.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-98
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-11-19
Attack surface
TablePress on WPSec AttackSurface
Fix released
Published

Description

The TablePress plugin for WordPress is vulnerable to Local File Inclusion via the 'datatables_locale' attribute of the [table] shortcode in all versions from 2.0 up to, and including, 3.4.1, due to the locale value not being validated before it is used to build the path of the DataTables language file (i18n/datatables/lang-{locale}.php), which is then loaded with require when it exists. This makes it possible for authenticated attackers, with Contributor-level access and above, to use directory traversal sequences to include and execute arbitrary .php files on the server, on servers whose path handling resolves the traversal (for example Windows hosts). This can lead to bypassing access controls, exposure of sensitive data, or code execution, depending on which PHP files exist on the server.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0