WordPress Plugin Vulnerabilities

WPvivid Backup & Migration < 0.9.132 - Admin+ SQL Injection via 'export_data' Parameter

Description

The plugin is vulnerable to SQL Injection via the export_data parameter, due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. The values are received in prepare_export_post(), passed through sanitize_text_field() and stripslashes(), JSON-decoded, and the attacker-controlled JSON object keys are collected as $posts_ids without integer casting. They are stored in the export task options and later joined with commas and interpolated directly into a `WHERE ID IN (...)` clause inside a $wpdb->get_results() call in export_post_to_xml() (unquoted, numeric context), with no $wpdb->prepare() or esc_sql(). This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Affects Plugins

Fixed in 0.9.132

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Wordfence PRISM
Verified
No

Timeline

Publicly Published
2026-07-31 (about 1 month ago)
Added
2026-07-31 (about 1 month ago)
Last Updated
2026-07-31 (about 1 month ago)

Other