---
id: CVE-2026-16649
title: >-
  The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via Post Body Field Value in all versions up to, and including,
  2.10.5 due to insufficient input sanitization and output escaping
summary: >-
  The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via Post Body Field Value in all versions up to, and including,
  2.10.5 due to insufficient input sanitization and output escaping. This makes
  it possible…
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
vendor: Gravity Forms
product: Gravity Forms
affected:
  - gravity_forms <= 2.10.5
published: '2026-09-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T17:17:33.153'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-16649'
references:
  - url: 'https://docs.gravityforms.com/gravityforms-change-log/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/187a420d-a5a5-4b0e-945b-c5694243e68f?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-08T16:50:22.050362Z'
epss: 0.0019
epssPercentile: 0.07649
ingestedAt: '2026-09-06T02:48:41.295Z'
---

## Overview

The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Post Body Field Value in all versions up to, and including, 2.10.5 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. The exploit survives save-time sanitization because wp_kses_post allows the required HTML tags and attributes, and the client-side tooltip script re-parses the browser-decoded aria-label value as innerHTML while only stripping script elements, leaving onerror and other event-handler attributes fully intact and executable.

## Remediation

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