XSS in Gravity Forms
CVE-2026-3492
The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 2.9.28.1. This is due to a compound failure involving missing authorization on the `create_from_template` AJAX endpoint (allowing any authenticated user to create forms), insufficient input sanitization (`sanitize_text_field()` preserves single quotes), and missing output escaping when the form title is rendered in the Form Switcher dropdown (`title` attribute constructed without `esc_attr()`, and JavaScript `saferHtml` utility only escapes `&`, `<`, `>` but not quotes). This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary JavaScript that executes when an Administrator searches in the Form Switcher dropdown in the Form Editor.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (10.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
Affected products
- Gravity Forms — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-3492?
- CVE-2026-3492 is a medium-severity vulnerability in Gravity Forms, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2026-03-11.
- How severe is CVE-2026-3492?
- Medium severity. CVSS v3 base score is 6.4 out of 10.