Executive brief
The Ditty plugin for WordPress, which is used to create news tickers and sliders, contains a security flaw that allows unauthorized access to private content. An attacker can view drafts, scheduled posts, and other hidden entries that were never intended for public view. This could lead to the exposure of sensitive internal information or upcoming announcements before they are ready for release.
Technical details
The Ditty plugin for WordPress is vulnerable to a missing authorization check (CWE-862) in its AJAX handling logic. Specifically, the 'init_ajax()' function in versions up to and including 3.1.65 fails to verify the post status of a requested Ditty item. By sending requests to the 'ditty_init' AJAX endpoint and enumerating integer post IDs, an unauthenticated remote attacker can bypass intended access controls. This allows for the extraction of full item content from entries marked as draft, pending, scheduled, or disabled. The vulnerability is addressed in versions following 3.1.65.
Affected products
- Ditty Ditty – Responsive News Tickers, Sliders, and Lists Up to and including 3.1.65
Timeline
- 2026-05-22: disclosed
- 2026-05-22: advisory
References
- https://plugins.trac.wordpress.org/browser/ditty-news-ticker/tags/3.1.64/includes/class-ditty-scripts.php
- https://plugins.trac.wordpress.org/browser/ditty-news-ticker/tags/3.1.64/includes/class-ditty-singles.php
- https://plugins.trac.wordpress.org/browser/ditty-news-ticker/tags/3.1.64/includes/class-ditty-singles.php
- https://plugins.trac.wordpress.org/browser/ditty-news-ticker/tags/3.1.65/includes/class-ditty-scripts.php
- https://plugins.trac.wordpress.org/browser/ditty-news-ticker/tags/3.1.65/includes/class-ditty-singles.php
- https://plugins.trac.wordpress.org/browser/ditty-news-ticker/tags/3.1.65/includes/class-ditty-singles.php
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3538064%40ditty-news-ticker&new=3538064%40ditty-news-ticker&sfp_email=&sfph_mail=