CVE-2026-5113
Last modified
CVE-2026-5113 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Consent field hidden inputs in versions up to and including 2.10.0. This is due to a flawed state validation mechanism that fails open when input is sanitized by wp_kses(), combined with insufficient output escaping. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Consent field hidden inputs in versions up to and including 2.10.0. This is due to a flawed state validation mechanism that fails open when input is sanitized by wp_kses(), combined with insufficient output escaping. The state validation logic creates two hashes (raw input and wp_kses-sanitized input) and only fails validation if BOTH hashes don't match the original state. When an attacker injects XSS payloads using tags stripped by wp_kses() (like <svg>), the sanitized hash matches while the malicious raw value is preserved and saved to the database. When administrators view the Entries List page, the stored malicious consent label is retrieved and output without escaping, causing the XSS payload to execute. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in entries that will execute whenever an authenticated administrator accesses the entries list 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-5113?
How severe is CVE-2026-5113?
How do I fix CVE-2026-5113?
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-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-5112The Gravity Forms plugin for WordPress is vulnerable to Unau…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
- CVE-2026-5119A flaw was found in libsoup. When establishing HTTPS tunnels…8.2
Are you affected by CVE-2026-5113?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
