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

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-05T18:27:43.000Z
- Modified: 2026-06-17T03:39:30.413Z
- Weaknesses: CWE-352
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress: from 3.4.34 before 3.4.34
- ninjaforms ninja_forms: before 3.4.34

## Every score

- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/b531fb65-a8ff-4150-a9a1-2a62a3c00bd6> (exploit, third-party-advisory)
- <https://www.wordfence.com/blog/2021/02/one-million-sites-affected-four-severe-vulnerabilities-patched-in-ninja-forms/> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-24166](https://www.cve.org/CVERecord?id=CVE-2021-24166), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24166](https://nvd.nist.gov/vuln/detail/CVE-2021-24166), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24166 · Whole record: https://cve.day/CVE-2021-24166.json · Rebuilt by cve.day 2026-11-25T22:58:00.605Z
