MainWP Child <= 4.1.7.1 - SQL Injection via orderby, order Parameters

7.2
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-24877
CVSS 7.2 (High)
Publicly Published October 25, 2021
Last Updated January 22, 2024
Researcher ZhongFu Su

Description

The MainWP Child WordPress plugin before 4.1.8 does not validate the orderby and order parameter before using them in a SQL statement, leading to an SQL injection exploitable by high privilege users such as admin when the Backup and Staging by WP Time Capsule plugin is installed

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites

Software Type Plugin
Software Slug mainwp-child (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.1.8, or a newer patched version
Affected Version
  • < 4.1.8
Patched Version
  • 4.1.8

Recent vulnerabilities in MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites

# Title CVE ID CVSS Researchers Date
1 MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites <= 6.1.1 - Missing Authorization CVE-2026-27366 5.3 Drew Webber (mcdruid) June 23, 2026
2 MainWP Child <= 5.3.3 - Missing Authorization to Unauthenticated Privilege Escalation CVE-2024-10783 8.1 Sean Murphy, wesley (wcraft) December 12, 2024
3 MainWP Child <= 4.4.1.1 - Information Disclosure via Back-Up Files CVE-2023-3132 5.9 Robert Lockwood June 23, 2023
4 MainWP Child < 3.4.5 - Authentication Bypass 8.3 Slavco Mihajloski February 18, 2018
5 MainWP Child <= 2.0.27 - Multiple Cross-Site Scripting 6.1 September 7, 2015
6 MainWP Dashboard and MainWP Child <= 2.0.22 - Unspecified Vulnerability 7.3 Francois Harvey August 7, 2015
7 MainWP Child – Securely connects sites to the MainWP WordPress Manager Dashboard < 2.0.9.2 - Authentication Bypass 9.8 MICKAEL NADEAU (Sucuri) March 9, 2015

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation