SurveyJS WordPress Plugin Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the SurveyJS plugin for WordPress, affecting all versions through 2.5.3. The issue arises from inadequate input sanitization and output escaping, allowing unauthenticated attackers to submit HTML-encoded payloads via survey result submissions. These payloads are decoded and executed as HTML when an administrator reviews the survey results, resulting in stored XSS in the admin context.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the survey results, typically an administrator.

Reproduction

To reproduce this vulnerability, an unauthenticated user can submit a survey result containing HTML-encoded payloads. The public survey page will include the nonce required for submission, which can be exploited to send the malicious payloads. Once submitted, the payloads will be executed as HTML when an administrator accesses the survey results.

Remediation

No known patch is available. It is recommended to uninstall the affected plugin and find a replacement.

Added: Mar 21, 2026, 4:24 AM
Updated: Mar 21, 2026, 4:24 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.4
exploitability
6.0
remediation
0.0
relevance
4.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.