Description
The Posts Table with Search & Sort plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'date_format' parameter in all versions up to, and including, 1.4.14 due to insufficient input sanitization and output escaping. 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. The payload bypasses wp_kses_post at save time because it contains no literal angle bracket characters; the malicious HTML tags are only reconstructed at render time, making this exploitable by Contributors who would ordinarily lack the unfiltered_html capability.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
barn2media Posts Table with Search & Sort
Default version status: unaffected
0 to ≤ 1.4.14affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/4ac45e56-606a-445f-84ec-349b68109065?source=cve ↗
- https://plugins.trac.wordpress.org/browser/posts-data-table/tags/1.4.14/src/Simple_Posts_Table.php#L338 ↗
- https://plugins.trac.wordpress.org/browser/posts-data-table/tags/1.4.14/src/Simple_Posts_Table.php#L345 ↗
- https://plugins.trac.wordpress.org/browser/posts-data-table/tags/1.4.14/src/Table_Shortcode.php#L33 ↗
- https://plugins.trac.wordpress.org/changeset/3780094/posts-data-table/trunk/src/Simple_Posts_Table.php ↗