Skip to main content

CVE-2025-3815: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in devsoftbaltic SurveyJS: Drag & Drop WordPress Form Builder to create, style and embed multiple forms of any complexity

Medium
VulnerabilityCVE-2025-3815cvecve-2025-3815cwe-79
Published: Sat May 03 2025 (05/03/2025, 07:22:57 UTC)
Source: CVE
Vendor/Project: devsoftbaltic
Product: SurveyJS: Drag & Drop WordPress Form Builder to create, style and embed multiple forms of any complexity

Description

The SurveyJS plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 1.12.32 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

AI-Powered Analysis

AILast updated: 07/07/2025, 01:10:27 UTC

Technical Analysis

CVE-2025-3815 is a stored Cross-Site Scripting (XSS) vulnerability identified in the SurveyJS WordPress plugin developed by devsoftbaltic. This plugin is used to create, style, and embed complex forms via a drag-and-drop interface within WordPress sites. The vulnerability arises from improper neutralization of input during web page generation, specifically via the 'id' parameter. Versions up to and including 1.12.32 are affected. The root cause is insufficient input sanitization and output escaping, allowing authenticated users with Contributor-level privileges or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or further exploitation of the site. The CVSS v3.1 base score is 6.4 (medium severity), with an attack vector of network (remote), low attack complexity, requiring privileges (Contributor or above), no user interaction, and a scope change. The impact affects confidentiality and integrity but not availability. No known exploits are currently reported in the wild, and no official patches have been linked yet. The vulnerability is classified under CWE-79, a common and impactful web security weakness.

Potential Impact

For European organizations using WordPress sites with the SurveyJS plugin, this vulnerability poses a significant risk. Attackers with Contributor-level access—often achievable through compromised accounts or weak internal controls—can inject malicious scripts that execute in the context of other users, including administrators. This can lead to theft of authentication tokens, unauthorized actions, or distribution of malware. Organizations handling sensitive data or providing critical services via WordPress are at risk of data breaches and reputational damage. Since the vulnerability allows scope change, an attacker might leverage it to escalate privileges or pivot to other parts of the network. The lack of required user interaction increases the risk of automated exploitation once an attacker gains initial access. The medium severity score reflects a moderate but tangible threat, especially for organizations with multiple contributors or less stringent access controls. Given the widespread use of WordPress in Europe, the potential impact is broad, affecting sectors such as government, education, healthcare, and e-commerce.

Mitigation Recommendations

Organizations should immediately audit their WordPress installations for the presence of the SurveyJS plugin and identify versions up to 1.12.32. Until an official patch is released, apply the following mitigations: 1) Restrict Contributor-level access strictly to trusted users and review existing user permissions to minimize risk. 2) Implement Web Application Firewall (WAF) rules to detect and block suspicious payloads targeting the 'id' parameter in SurveyJS forms. 3) Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. 4) Monitor logs for unusual activity related to form submissions or user-generated content. 5) Educate site administrators and contributors about the risks of XSS and safe content practices. 6) Consider temporarily disabling or replacing the SurveyJS plugin if feasible until a secure version is available. 7) Regularly back up site data to enable recovery in case of compromise. These steps go beyond generic advice by focusing on access control tightening, proactive detection, and layered defenses specific to the plugin's attack vector.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-04-18T21:15:09.761Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d981fc4522896dcbdc939

Added to database: 5/21/2025, 9:08:47 AM

Last enriched: 7/7/2025, 1:10:27 AM

Last updated: 7/30/2025, 4:57:42 PM

Views: 13

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats