---
id: CVE-2026-18406
title: >-
  The SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz
  plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Text
  Field Entity-Encoded Payload in all versions up to, and including, 2.12.2 due
  to insuf…
summary: >-
  The SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz
  plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Text
  Field Entity-Encoded Payload in all versions up to, and including, 2.12.2 due
  to insuf…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/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-18406'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/sureforms/tags/2.12.2/assets/build/entries.js#L172
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/sureforms/tags/2.12.2/inc/form-submit.php#L1451
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/sureforms/tags/2.12.2/inc/form-submit.php#L229
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/sureforms/tags/2.12.2/inc/form-submit.php#L93
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/sureforms/tags/2.12.2/inc/helper.php#L241
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3635980/sureforms/trunk/inc/form-submit.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?old_path=%2Fsureforms/tags/2.12.2&new_path=%2Fsureforms/tags/2.12.3
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&new=3636000%40sureforms%2Ftags%2F2.12.3&old=3618798%40sureforms%2Ftags%2F2.12.2
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/8583c1f2-0820-492c-9fa1-d96e0ce2ddf2?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00285
epssPercentile: 0.18633
ingestedAt: '2026-09-06T02:48:41.372Z'
---

## Overview

The SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Text Field Entity-Encoded Payload in all versions up to, and including, 2.12.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## Remediation

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