A security vulnerability has been discovered in Soledad, a widely used WordPress theme, that could allow an attacker to run code on the server without creating an account. The flaw was cataloged as CVE-2026-121684 and rated “High” with a score of 8.1 on the CVSS 3.1 scale. It affects versions 8.7.7 and earlier.
How the vulnerability works
The flaw stems from the theme’s publicly accessible penci_more_post_ajax AJAX action. This endpoint base64-decodes the infeedads[ads_code] parameter and passes it to the penci_safe_shortcode() function. The filter checks only the outer shortcode’s name by cutting it off at the hyphen; it never inspects the nested [elementor-element] tag. As a result, the attacker’s chosen Elementor element gets processed by do_shortcode().
The second link in the chain is the penci-featured-sliders widget. The widget passes the unsanitized style setting to the line include dirname(__FILE__).”/{$style}.php”. This results in a local file inclusion (LFI) vulnerability that allows directory traversal. By combining these two steps, an unauthenticated attacker can execute code on the server.
Who’s affected
Soledad is a theme sold on ThemeForest and commonly used on blog and magazine sites. Since the vulnerability is in the theme files, any site using the theme is at risk, regardless of its plugins. There’s no evidence that the flaw is being actively exploited, and it’s not on CISA’s KEV list either. Still, because it doesn’t require authentication, typical scanning traffic for a publicly disclosed vulnerability is likely to start showing up soon.
What to do
The first and most important step is to update the theme. Upgrade to a version later than 8.7.7; copies licensed through ThemeForest receive updates through the theme settings or an Envato account. If you can’t update right away, protect the site’s admin panel with access restrictions, consider disabling unused AJAX endpoints, and monitor penci_more_post_ajax requests at the firewall level. It’s also worth checking your server logs for unusual requests targeting the theme in recent days.
Source: Wordfence · NVD

Share your experience
Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.