---
id: CVE-2026-18404
title: >-
  The Social Chat – Click To Chat App Button plugin for WordPress is vulnerable
  to Stored Cross-Site Scripting via 'consent_message' JSON Attribute in .qlwapp
  data-box in all versions up to, and including, 8.6.2 due to insufficient input
  s…
summary: >-
  The Social Chat – Click To Chat App Button plugin for WordPress is vulnerable
  to Stored Cross-Site Scripting via 'consent_message' JSON Attribute in .qlwapp
  data-box in all versions up to, and including, 8.6.2 due to insufficient input
  s…
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-09-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T13:12:58.310'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18404'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-whatsapp-chat/tags/8.5.1/build/frontend/js/index.js#L2
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-whatsapp-chat/tags/8.5.1/lib/controllers/class-frontend.php#L86
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-whatsapp-chat/tags/8.6.1/build/frontend/js/index.js#L2
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-whatsapp-chat/tags/8.6.1/lib/controllers/class-frontend.php#L86
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-whatsapp-chat/tags/8.6.2&new_path=%2Fwp-whatsapp-chat/tags/8.6.3
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&new=3667778%40wp-whatsapp-chat%2Ftags%2F8.6.3&old=3664149%40wp-whatsapp-chat%2Ftags%2F8.6.2
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/f159392b-5bc6-4c12-a924-13ea170bb7fa?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00201
epssPercentile: 0.10289
ingestedAt: '2026-09-06T02:48:39.343Z'
---

## Overview

The Social Chat – Click To Chat App Button plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'consent_message' JSON Attribute in .qlwapp data-box in all versions up to, and including, 8.6.2 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. The exploit requires no user interaction beyond page load, as setting auto_open and consent_enabled to 'yes' in the injected data-box JSON causes the consent box — and the embedded script — to execute immediately on page load.

## Remediation

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