# Posts Table with Search & Sort <= 1.4.14 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'date_format' Shortcode Attribute

- **ID:** WPSEC-2026-2404
- **Plugin:** Posts Table with Search & Sort (`posts-data-table`), https://wordpress.org/plugins/posts-data-table/
- **Affected versions:** from 1.1 before 1.4.15
- **Fixed in:** 1.4.15 (Update to 1.4.15 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/posts-data-table
- **Fix released:** 2026-11-02
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2404/

## Description

The Posts Table with Search & Sort plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'date_format' attribute of the plugin's posts table shortcode in all versions up to, and including, 1.4.14 due to insufficient input sanitization and output escaping of the formatted post date. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-2404/
- https://plugins.svn.wordpress.org/posts-data-table/tags/1.4.15/
- https://wordpress.org/plugins/posts-data-table/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2404/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
