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

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-24877
CVSS High (7.2)
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

References

1 affected software package

Software Type Plugin
Software Slug mainwp-child (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.1.8
Patched Version
  • 4.1.8
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.