---
id: CVE-2026-8892
title: >-
  The CM Business Directory – Optimise and showcase local business plugin for
  WordPress is vulnerable to Stored Cross-Site Scripting via Business Address
  Meta Fields in all versions up to, and including, 1.5.7 due to insufficient
  input san…
summary: >-
  The CM Business Directory – Optimise and showcase local business plugin for
  WordPress is vulnerable to Stored Cross-Site Scripting via Business Address
  Meta Fields in all versions up to, and including, 1.5.7 due to insufficient
  input san…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-07-03'
updated: '2026-07-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8892'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/cm-business-directory/trunk/backend/cm-business-directory-backend.php#L366
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cm-business-directory/trunk/backend/cm-business-directory-backend.php#L385
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cm-business-directory/trunk/frontend/cm-business-directory-business-page-sc.php#L107
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cm-business-directory/trunk/frontend/cm-business-directory-business-page-sc.php#L151
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/cm-business-directory/trunk/frontend/cm-business-directory-business-page-sc.php#L190
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3590314%40cm-business-directory&new=3590314%40cm-business-directory&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/ce3861a3-3a0f-4414-bea7-941c2d36fc39?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-07-04T04:55:39.398Z'
epss: 0.00349
epssPercentile: 0.25725
---

## Overview

The CM Business Directory – Optimise and showcase local business plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Business Address Meta Fields in all versions up to, and including, 1.5.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Because the malicious payload is stored in post meta rather than post_content, WordPress's unfiltered_html capability restriction does not apply, meaning contributors who lack that capability can still inject executable HTML via the address meta fields such as cmbd_address, cmbd_cityTown, cmbd_stateCounty, cmbd_postalcode, cmbd_region, and cmbd_country.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
