Stored DOM-Based Cross-Site Scripting Vulnerability in Better Messages for WordPress
CVE-2026-94376

6.4MEDIUM

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

References

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Adrien Brunner
.