Ninja Tables <= 5.5.1 - Unauthenticated HTML Injection via Fluent Forms Entries in DataTables Tables
- ID
- WPSEC-2026-3564
- Plugin
- Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables (ninja-tables)
- Affected
- from 5.5.0 before 5.5.2
- Remediation
- Update to 5.5.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-80
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-20
- Attack surface
- Ninja Tables on WPSec AttackSurface
- Fix released
- Published
Description
The Ninja Tables plugin for WordPress is vulnerable to HTML Injection via Fluent Forms entry values shown in DataTables-engine tables in all versions from 5.5.0 up to, and including, 5.5.1, due to insufficient output escaping. Cell values are passed to wp_kses_post() when the table is rendered. That function accepts whitespace after '<', so it turns text such as '< a ...>' into real HTML elements. Form plugins that sanitize with sanitize_text_field() store such text unchanged, because it is not a tag. This makes it possible for unauthenticated attackers who can submit a Fluent Forms form that feeds a DataTables table to inject HTML markup allowed for post content, such as links, images and styled text, which is shown to every visitor who views the table.
References
- https://wpsec.com/vuln/WPSEC-2026-3564/
- https://plugins.svn.wordpress.org/ninja-tables/tags/5.5.2/
- https://wordpress.org/plugins/ninja-tables/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS