{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3888",
 "modified": "2026-11-25T13:55:16Z",
 "published": "2026-11-25T13:55:16Z",
 "summary": "SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz <= 2.14.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Payment Block Subscription Attributes",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "sureforms"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "2.0.0"
      },
      {
       "fixed": "2.14.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 2.0.0 before 2.14.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3888/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/sureforms/tags/2.14.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/sureforms/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3888/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
