CVE-2024-13377
📋 TL;DR
The Gravity Forms WordPress plugin has a stored XSS vulnerability in the 'alt' parameter that allows unauthenticated attackers to inject malicious scripts. When users visit pages containing the injected forms, their browsers execute the attacker's code. All WordPress sites using Gravity Forms versions up to 2.9.1.3 are affected.
💻 Affected Systems
- Gravity Forms WordPress Plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers inject malicious scripts to steal user session cookies, redirect users to phishing pages, or display unwanted advertisements.
If Mitigated
With proper input validation and output escaping, the vulnerability is prevented and no malicious scripts can be stored or executed.
🎯 Exploit Status
Attackers can exploit this without authentication by submitting specially crafted form submissions containing malicious scripts in the 'alt' parameter.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.9.1.4 or later
Vendor Advisory: https://docs.gravityforms.com/gravityforms-change-log/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Gravity Forms and click 'Update Now'. 4. Verify update completes successfully.
🔧 Temporary Workarounds
Disable Gravity Forms Plugin
WordPressTemporarily disable the Gravity Forms plugin until patching is possible
wp plugin deactivate gravityforms
🧯 If You Can't Patch
- Implement a web application firewall (WAF) with XSS protection rules
- Restrict form submissions to authenticated users only
🔍 How to Verify
Check if Vulnerable:
Check Gravity Forms version in WordPress admin panel under Plugins > Installed Plugins
Check Version:
wp plugin get gravityforms --field=version
Verify Fix Applied:
Verify Gravity Forms version is 2.9.1.4 or higher after update
📡 Detection & Monitoring
Log Indicators:
- Unusual form submissions with script tags in alt parameter
- Multiple failed form submissions from same IP
Network Indicators:
- HTTP POST requests to Gravity Forms endpoints containing script tags
SIEM Query:
source="wordpress.log" AND "gravityforms" AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")