# CVE-2021-39341: OptinMonster <= 2.6.4 Unprotected REST-API Endpoints

- Severity: High 8.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- 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): 21.9%, higher than 98% of CVEs (2026-11-27)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-01T21:01:23.439Z
- Modified: 2026-06-17T04:03:34.893Z
- Weaknesses: CWE-285, CWE-319, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## Description

The OptinMonster WordPress plugin is vulnerable to sensitive information disclosure and unauthorized setting updates due to insufficient authorization validation via the logged_in_or_has_api_key function in the ~/OMAPI/RestApi.php file that can used to exploit inject malicious web scripts on sites with the plugin installed. This affects versions up to, and including, 2.6.4.

(As written by CVE List.)

## Affected

- OptinMonster OptinMonster: from 2.6.4 up to 2.6.4; up to 2.6.4

## Every score

- Wordfence: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://www.wordfence.com/blog/2021/10/1000000-sites-affected-by-optinmonster-vulnerabilities/> (exploit, third-party-advisory)
- <https://wordfence.com/vulnerability-advisories/#CVE-2021-39341> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/optinmonster/trunk/OMAPI/RestApi.php?rev=2606519#L1460> (third-party-advisory)

## Sources

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

---

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