Vulnerabilities / Perfect Survey / WPSEC-2026-4211

Perfect Survey <= 1.6.0 - Unauthenticated SQL Injection via 'ps_questions' and 'ID' Parameters

High 7.5 CWE-89Fixed in 2.0.0
ID
WPSEC-2026-4211
Plugin
Perfect Survey (perfect-survey)
Affected
all versions before 2.0.0
Remediation
Update to 2.0.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-89
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-11-28
Attack surface
Perfect Survey on WPSec AttackSurface
Fix released
Published

Description

The perfect-survey plugin for WordPress is vulnerable to SQL Injection via the keys of the 'ps_questions' parameter of the save_question_data AJAX action and the 'ID' parameter of the add_question AJAX action in all versions up to, and including, 1.6.0. This is due to identifiers being passed only through sanitize_text_field() and then concatenated without quotes into SQL queries, with no numeric check or prepared statement, while both actions are registered for unauthenticated users. This makes it possible for unauthenticated attackers to append additional SQL queries to existing queries and extract sensitive information from the database.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0