CVE-2026-5112
Last modified
CVE-2026-5112 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. The Gravity Forms plugin for WordPress is vulnerable to Unauthenticated Stored Cross-Site Scripting in versions up to and including 2.10.0. This is due to insufficient input validation and output escaping of Calculation Product field product names when rendered inside Repeater fields. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
The Gravity Forms plugin for WordPress is vulnerable to Unauthenticated Stored Cross-Site Scripting in versions up to and including 2.10.0. This is due to insufficient input validation and output escaping of Calculation Product field product names when rendered inside Repeater fields. The validate() method in the GF_Field_Calculation class only validates the quantity field (.3) and completely ignores the product name field (.1), allowing malicious HTML to pass through validation. When the value is saved, the sanitize_entry_value() method returns the raw value without sanitization for fields where HTML is not expected. Subsequently, when an entry is viewed in wp-admin, the get_value_entry_detail() method concatenates the unescaped product name directly into the output string, which is then rendered by the repeater's get_value_entry_detail() method without further escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts via form submissions that will execute whenever an authenticated administrator with the gravityforms_view_entries capability accesses the entry detail page.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5112?
How severe is CVE-2026-5112?
How do I fix CVE-2026-5112?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-51083Incorrect access control in Proxmox Virtual Environment (PVE…6.5
- CVE-2026-5109The Gravity Forms plugin for WordPress is vulnerable to Stor…7.2
- CVE-2026-5110The Gravity Forms plugin for WordPress is vulnerable to Unau…7.2
- CVE-2026-51105Buffer Overflow vulnerability in aMULE-Project aMule v.2.3.3…7.5
- CVE-2026-5111The Gravity Forms plugin for WordPress is vulnerable to Stor…7.2
- CVE-2026-51119An issue in Invixium IXM WEB v.2.3.85.25 allows an attacker …9.1
- CVE-2026-5113The Gravity Forms plugin for WordPress is vulnerable to Stor…7.2
- CVE-2026-5114The SpeedyCache plugin for WordPress is vulnerable to Arbitr…4.9
- CVE-2026-51144Cross Site Scripting vulnerability in Soliton Systems MailZe…6.1
- CVE-2026-5115The PaperCut NG/MF (specifically, the embedded application f…7.5
- CVE-2026-5116The Contact Form 7 – Dynamic Text Extension plugin for WordP…4.4
- CVE-2026-5118The Divi Form Builder plugin for WordPress is vulnerable to …9.8
Are you affected by CVE-2026-5112?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
