Vulnerabilities / Better Search / WPSEC-2026-2246

Better Search <= 4.5.2 - Unauthenticated Sensitive Information Exposure via Attachment Search Results

Medium 5.3 CWE-200Fixed in 4.5.3
ID
WPSEC-2026-2246
Plugin
Better Search – Relevant search results for WordPress (better-search)
Affected
all versions before 4.5.3
Remediation
Update to 4.5.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-03
Attack surface
Better Search on WPSec AttackSurface
Fix released
Published

Description

The Better Search plugin for WordPress is vulnerable to Sensitive Information Exposure via search results in all versions up to, and including, 4.5.2 due to missing checks on the visibility of an attachment's parent post, both in live queries and in results restored from the cache. This makes it possible for unauthenticated attackers to discover attachments belonging to unpublished posts, posts of non-viewable post types, and password-protected posts when the 'Exclude password protected posts' option is enabled.

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