Vulnerabilities / Better Messages / WPSEC-2026-1267

Better Messages <= 3.1.2 - Authenticated (Subscriber+) Server-Side Request Forgery via Link Preview

Medium 6.4 CWE-918Fixed in 3.1.3
ID
WPSEC-2026-1267
Plugin
Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots (bp-better-messages)
Affected
all versions before 3.1.3
Remediation
Update to 3.1.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-918
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-20
Attack surface
Better Messages on WPSec AttackSurface
Fix released
Published

Description

The Better Messages plugin for WordPress is vulnerable to Server-Side Request Forgery via the link preview feature in all versions up to, and including, 3.1.2. This is due to insufficient validation of URLs in messages: the URL check does not block link-local (such as 169.254.169.254), IPv6 and other reserved address ranges, the page fetch uses wp_remote_get(), which follows redirects without checking where they lead, and og:image, twitter:image and thumbnail URLs taken from the fetched page are requested with no validation at all. This makes it possible for authenticated attackers, with subscriber-level access and above who can send messages, to make web requests to arbitrary locations originating from the web application, which can be used to query and modify information from internal services.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0