{
 "id": "WPSEC-2026-2070",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2070/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2070/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2070/index.md",
 "title": "WPForms <= 2.0.3 - Unauthenticated Reflected Cross-Site Scripting via Field Value Smart Tags in Confirmation Message",
 "description": "The WPForms plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the field_id, field_value_id and field_html_id smart tags in all versions up to, and including, 2.0.3, due to insufficient sanitization of submitted field values that these smart tags print into the front-end confirmation message. The values were only filtered with wp_kses_post, which keeps form controls and data-* attributes and can rebuild plain submitted text into real HTML tags that the front-end validation script then renders as HTML. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute in a victim's browser if they can trick the victim into submitting a crafted cross-site form post and interacting with the injected content. Exploitation requires a confirmation message that uses one of these smart tags, a form that accepts non-AJAX submissions, and the plugin's validation script loading on the confirmation page, such as when another WPForms form is on the same page.",
 "plugin": {
  "slug": "wpforms-lite",
  "name": "WPForms",
  "full_name": "WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More",
  "wordpress_org": "https://wordpress.org/plugins/wpforms-lite/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wpforms-lite/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wpforms-lite"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.7,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.0.3.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.0.3.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.0.3.1",
 "remediation": "Update to 2.0.3.1 or later.",
 "fix_released": "2026-10-29T13:31:09+00:00",
 "published": "2026-10-30T13:53:52+00:00",
 "updated": "2026-10-29T17:46:31.014403+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2070/",
  "https://plugins.svn.wordpress.org/wpforms-lite/tags/2.0.3.1/",
  "https://wordpress.org/plugins/wpforms-lite/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wpforms-lite",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-10-30"
 }
}