Better Messages <= 3.1.3 - Unauthenticated DOM-Based Reflected Cross-Site Scripting via 'bmErrors' Parameter
- ID
- WPSEC-2026-1325
- Plugin
- Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots (bp-better-messages)
- Affected
- all versions before 3.1.4
- Remediation
- Update to 3.1.4 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-21
- Attack surface
- Better Messages on WPSec AttackSurface
- Fix released
- Published
Description
The Better Messages plugin for WordPress is vulnerable to DOM-Based Reflected Cross-Site Scripting via the 'bmErrors' URL parameter in all versions up to, and including, 3.1.3, due to insufficient sanitization and escaping. The messenger script reads error messages from the 'bmErrors' parameter in the query string or URL hash and parses them as HTML in an error notice. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that execute if they can trick a user, such as an administrator, into clicking a crafted link to a page that loads the messenger.
References
- https://wpsec.com/vuln/WPSEC-2026-1325/
- https://plugins.svn.wordpress.org/bp-better-messages/tags/3.1.4/
- https://wordpress.org/plugins/bp-better-messages/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS