Description
The Animated Text Block plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 1.2.6 via the 'animated-text' shortcode. This is due to the atb_shortcode_handler() function fetching an arbitrary post by attacker-supplied ID and, in the 'publish' branch, calling displayContent() with no capability check and no validation that the post's post_type is the plugin's own CPT or is otherwise viewable (is_post_type_viewable()). This makes it possible for authenticated attackers, with Contributor-level access and above, to read the rendered block content of any published post, including posts of non-public custom post types (public=false, show_in_rest=false) that WordPress would otherwise hide from direct URLs and the REST API.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
bplugins Animated Text Block – Add Typing and Looping Text Effects
Default version status: unaffected
0 to ≤ 1.2.6affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7163be31-8f55-45ba-8364-e84a3e636d5b?source=cve ↗
- https://plugins.trac.wordpress.org/browser/animated-text-block/tags/1.2.6/plugin.php#L142 ↗
- https://plugins.trac.wordpress.org/browser/animated-text-block/tags/1.2.6/plugin.php#L132 ↗
- https://plugins.trac.wordpress.org/browser/animated-text-block/tags/1.2.6/plugin.php#L163 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3767751%40animated-text-block&new=3767751%40animated-text-block ↗