Ninja Tables – Easy Data Table Builder <= 5.0.18 - Unauthenticated PHP Object Injection to Limited Remote Code Execution
Strategic Overview
- Status
- Patched in 5.0.19
- Affected Plugin
- Ninja Tables – Easy Data Table Builder
- Affected Version
<= 5.0.18- CVSS
- 5.6Medium
- Weakness type
- CWE-502 · Deserialization of Untrusted Data
- CVE
CVE-2025-2939
At a glance
CVE-2025-2939 is a medium-severity Deserialization of Untrusted Data vulnerability in the Ninja Tables WordPress plugin, affecting versions <= 5.0.18. It carries a CVSS score of 5.6 (reachable over the network). Exploitation requires no authentication. The issue is fixed in version 5.0.19; sites on affected versions should update now. Disclosed June 2025, reported by Trương Hữu Phúc (truonghuuphuc).
Vulnerability Overview
The Ninja Tables – Easy Data Table Builder plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 5.0.18 via deserialization of untrusted input from the args[callback] parameter . This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute arbitrary functions, though it does not allow user supplied parameters only single functions can be called so the impact is limited.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user.
CWE-502: Deserialization of Untrusted Data
Reaching this weakness in Ninja Tables <= 5.0.18 takes no account at all. Deserialization of untrusted data means the application reconstructs objects from input a caller controls, letting the attacker choose which classes get instantiated and what their properties hold.
A workable chain turns deserialization into file writes, deletions or code execution, depending on what the loaded classes do in their magic methods. For Ninja Tables the fix is 5.0.19: builds <= 5.0.18 are affected, anything from 5.0.19 onward is not.
Remediation
Update to version 5.0.19, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Ninja Tables 5.0.19 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Login Security
External References
Related records
Other vulnerabilities in Ninja Tables – Easy Data Table Builder
- 7.2CVE-2026-61964: Ninja Tables – Easy Data Table Builder Stored XSS
CVE-2026-61964 - 7.2CVE-2025-2940: Ninja Tables – Easy Data Table Builder <= 5.0.18 SSRF
CVE-2025-2940 - 6.5CVE-2025-69351: Ninja Tables <= 5.2.4 SQL Injection
CVE-2025-69351 - 6.4CVE-2024-7304: Ninja Tables – Easiest Data Table Builder Stored XSS
CVE-2024-7304 - 5.5CVE-2024-35635: Ninja Tables – Easiest Data Table Builder SSRF
CVE-2024-35635 - 5.3CVE-2026-65474: Ninja Tables Information Exposure
CVE-2026-65474 - 5.3CVE-2024-23504: Ninja Tables <= 5.0.5 Missing Authorization
CVE-2024-23504 - 4.9CVE-2025-67519: Ninja Tables <= 5.2.3 SQL Injection
CVE-2025-67519
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C