Stored DOM-Based Cross-Site Scripting Vulnerability in Better Messages for WordPress
CVE-2026-94376
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 25 September 2026
What is CVE-2026-94376?
The Better Messages plugin for WordPress has a vulnerability allowing authenticated users with a subscriber role to perform Stored DOM-Based Cross-Site Scripting. This occurs due to insufficient input sanitization and output escaping related to user display names. Attackers can inject arbitrary web scripts into pages, which execute whenever a user accesses the compromised page. Since the WordPress core's sanitize_text_field() function retains HTML-entity-encoded payloads, it enables stored attacks without requiring unfiltered_html permissions. The plugin later decodes and renders these strings server-side, further exposing users to the risk of script execution.
Affected Version(s)
Better Messages β Chat Rooms, Group Chat, Private Messages & AI Chat Bots 0 <= 3.0.4