{"id":"CVE-2021-39341","aliases":["EUVD-2021-25702","GHSA-whcc-jgf3-q7pm"],"status":"published","title":"OptinMonster \u003c= 2.6.4 Unprotected REST-API Endpoints","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.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.21929,"percentile":0.97672,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-285","CWE-319","CWE-863"],"published":"2021-11-01T21:01:23Z","modified":"2026-06-17T04:03:34Z","exploits":[{"source":"nuclei","id":"CVE-2021-39341","title":"OptinMonster Plugin \u003c 2.6.5 - Unprotected REST-API","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-39341.yaml"}],"products":[{"vendor":"optinmonster","product":"optinmonster"},{"vendor":"optinmonster popup builder team","product":"optinmonster"}],"references":[{"url":"https://www.wordfence.com/blog/2021/10/1000000-sites-affected-by-optinmonster-vulnerabilities/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://wordfence.com/vulnerability-advisories/#CVE-2021-39341","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/optinmonster/trunk/OMAPI/RestApi.php?rev=2606519#L1460","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39341"},{"url":"https://github.com/advisories/GHSA-whcc-jgf3-q7pm"}],"sources":{"cve":[{"id":"CVE-2021-39341","title":"OptinMonster \u003c= 2.6.4 Unprotected REST-API Endpoints","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.","status":"published","published":"2021-11-01T21:01:23.439Z","modified":"2025-03-31T17:45:22.682Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-285","CWE-319"],"updated_at":"2026-11-02T14:33:09.540052Z"}],"euvd":[{"id":"EUVD-2021-25702","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.","status":"published","published":"2021-11-01T21:01:23Z","modified":"2025-03-31T17:45:22Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T20:52:46.759966Z"}],"ghsa":[{"id":"GHSA-whcc-jgf3-q7pm","title":"The OptinMonster WordPress plugin is vulnerable to sensitive information disclosure and...","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.","status":"published","published":"2022-05-24T19:19:22Z","modified":"2023-01-27T05:04:20Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-285","CWE-863"],"updated_at":"2026-11-02T14:42:26.227554Z"}],"nvd":[{"id":"CVE-2021-39341","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.","status":"published","published":"2021-11-01T21:15:07.863Z","modified":"2026-06-17T04:03:34.893Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"secondary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-285","CWE-319","CWE-863"],"updated_at":"2026-11-02T14:07:00.549994Z"}]}}
