{
 "id": "WPSEC-2026-3888",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3888/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3888/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3888/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3888.json",
 "title": "SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz <= 2.14.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Payment Block Subscription Attributes",
 "description": "The SureForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the srfm/payment block's subscriptionPlan attributes ('interval' and 'billingCycles') in all versions from 2.0.0 up to, and including, 2.14.1. This is due to insufficient input sanitization and output escaping: an unknown interval value and a non-numeric billing cycle value were placed unchanged into the variable-amount message template, which is stored in a data attribute, and the front-end payment script wrote the decoded template into the page with innerHTML. 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. Exploitation requires the Payments feature to be enabled and a payment method to be connected.",
 "plugin": {
  "slug": "sureforms",
  "name": "SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz",
  "full_name": "SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz",
  "wordpress_org": "https://wordpress.org/plugins/sureforms/",
  "advisories_url": "https://wpsec.com/vuln/plugin/sureforms/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/sureforms"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.0.0",
    "from_inclusive": true,
    "to": "2.14.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.0.0 before 2.14.2"
  ]
 },
 "introduced_in": "2.0.0",
 "fixed_in": "2.14.2",
 "remediation": "Update to 2.14.2 or later.",
 "fix_released": "2026-11-24T13:53:51+00:00",
 "published": "2026-11-25T13:55:16+00:00",
 "updated": "2026-11-25T09:55:51.785307+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3888/",
  "https://plugins.svn.wordpress.org/sureforms/tags/2.14.2/",
  "https://wordpress.org/plugins/sureforms/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/sureforms",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-25"
 }
}