# CVE-2021-24877: MainWP Child < 4.1.8 - Admin+ SQL Injection

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-23T19:16:17.000Z
- Modified: 2026-06-17T03:41:03.920Z
- Weaknesses: CWE-89
- Assigned by: WPScan

## 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

(As written by CVE List.)

## Affected

- Unknown MainWP Child - Securely connects sites to the MainWP WordPress Manager Dashboard: from 4.1.8 before 4.1.8
- mainwp mainwp_child: before 4.1.8

## Every score

- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/b09fe120-ab9b-44f2-b50d-3b4b299d6d15> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24877](https://www.cve.org/CVERecord?id=CVE-2021-24877), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24877](https://nvd.nist.gov/vuln/detail/CVE-2021-24877), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24877 · Whole record: https://cve.day/CVE-2021-24877.json · Rebuilt by cve.day 2026-11-25T22:58:05.729Z
