CVE-2026-86790 in Highlight Box Plugininfo

Summary

by MITRE • 09/12/2026

The WP Highlight Box WordPress plugin through 1.0 does not escape some shortcode attributes before outputting them in a page where the shortcode is embedded, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 09/12/2026

The vulnerability identified in the WP Highlight Box WordPress plugin version 1.0 represents a classic instance of insufficient input validation and output encoding within a content management system environment. This specific flaw arises from the application's failure to properly sanitize or escape shortcode attributes before rendering them into the final HTML page structure. When users with contributor roles or higher interact with the plugin, they are able to inject malicious scripts through these unescaped attributes. The core technical issue lies in the lack of proper context-aware encoding during the output phase, which allows raw user-supplied data to be interpreted as executable code by the victim's web browser rather than being treated as inert text content.

From a security architecture perspective, this vulnerability is categorized under CWE-79, commonly known as Improper Neutralization of Input During Web Page Generation or Cross-site Scripting (XSS). The specific variant here is stored XSS because the malicious payload is not merely executed in an ephemeral session but is persisted within the plugin's configuration or database entries. This persistence ensures that every time a page containing the compromised shortcode is loaded, the injected script executes automatically for any visitor viewing that content. This transforms what might otherwise be a low-impact issue into a significant threat vector capable of affecting multiple users without their direct interaction with the malicious input source beyond initial view access.

The operational impact of this vulnerability extends far beyond simple defacement or session hijacking, although those are primary risks. Attackers can leverage stored XSS to steal administrative credentials by capturing cookies or authentication tokens when an administrator views a compromised page. Furthermore, the attacker could manipulate the DOM to redirect users to phishing sites, inject malware downloads, or perform actions on behalf of authenticated users if cross-site request forgery protections are also bypassed through script injection. Given that WordPress plugins often have broad permissions, compromising one plugin can lead to full site compromise, allowing attackers to install backdoors, deface websites at scale, or use the server for further malicious activities such as distributed denial-of-service attacks or spam distribution.

In terms of threat modeling and adversary behavior, this vulnerability aligns with MITRE ATT&CK techniques related to Client-Side Scripting Injection. Attackers typically exploit such flaws by crafting a shortcode that includes event handlers like onerror or onload within an image tag, or using javascript: URIs in attributes where URLs are expected. The persistence of the payload means that even if the initial attacker is identified and removed from the system, the malicious code remains active until the specific post or page containing it is edited or deleted by a privileged user who may unknowingly trigger the script while performing routine maintenance tasks.

Mitigation strategies must address both immediate remediation and long-term defensive posture improvements. The most effective solution is to upgrade the WP Highlight Box plugin to a patched version where developers have implemented strict output escaping functions such as esc_attr in PHP, ensuring that all user-supplied data is encoded according to its context within HTML attributes. For organizations unable to immediately update due to compatibility constraints, temporary mitigation involves restricting contributor and higher roles from using this specific shortcode or disabling the plugin entirely if it is not critical for operations. Additionally, implementing a Content Security Policy (CSP) can significantly reduce the impact of successful XSS attacks by preventing the execution of inline scripts unless explicitly whitelisted, thereby adding a crucial layer of defense-in-depth against client-side injection vulnerabilities.

Responsible

WPScan

Reservation

09/08/2026

Disclosure

09/12/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!