{
 "id": "WPSEC-2026-2246",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2246/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2246/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2246/index.md",
 "title": "Better Search <= 4.5.2 - Unauthenticated Sensitive Information Exposure via Attachment Search Results",
 "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.",
 "plugin": {
  "slug": "better-search",
  "name": "Better Search",
  "full_name": "Better Search – Relevant search results for WordPress",
  "wordpress_org": "https://wordpress.org/plugins/better-search/",
  "advisories_url": "https://wpsec.com/vuln/plugin/better-search/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/better-search"
 },
 "type": "SENSITIVE DATA DISCLOSURE",
 "cwe": [
  "CWE-200"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.5.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.5.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.5.3",
 "remediation": "Update to 4.5.3 or later.",
 "fix_released": "2026-11-01T05:19:21+00:00",
 "published": "2026-11-03T14:48:33+00:00",
 "updated": "2026-11-03T13:21:24.360588+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2246/",
  "https://plugins.svn.wordpress.org/better-search/tags/4.5.3/",
  "https://wordpress.org/plugins/better-search/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/better-search",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-03"
 }
}