{"id":"CVE-2021-39341","published":"2021-11-01T21:01:23Z","modified":"2025-03-31T17:45:22Z","title":"OptinMonster <= 2.6.4 Unprotected REST-API Endpoints","vendor":"OptinMonster","product":"OptinMonster","tier":"core","eol":null,"affectedVersions":[{"vendor":"OptinMonster","product":"OptinMonster","versions":[">= 2.6.4, <= 2.6.4"]}],"solutions":{"items":["Update to version 2.6.5, or newer."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-31T17:45:12.515792Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The OptinMonster WordPress plugin, up to and including version 2.6.4, has insufficient authorization checks in its REST API endpoints, specifically in the logged_in_or_has_api_key function in ~/OMAPI/RestApi.php. An unauthenticated remote attacker, requiring no user interaction, can exploit this to disclose sensitive information and make unauthorized setting changes, which can be used to inject malicious web scripts into sites running the plugin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T22:21:57Z"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.21929,"percentile":0.97709,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2021-10-27","exploitedFirstSeen":"2021-10-27","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/vulnerability/optinmonster/wordpress-optinmonster-plugin-2-6-4-unprotected-rest-api-to-sensitive-information-disclosure-and-unauthorized-api-access-vulnerability","date":"2021-10-27"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"},{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"references":[{"url":"https://www.wordfence.com/blog/2021/10/1000000-sites-affected-by-optinmonster-vulnerabilities/","tags":["x_refsource_MISC"]},{"url":"https://wordfence.com/vulnerability-advisories/#CVE-2021-39341","tags":["x_refsource_MISC"]},{"url":"https://plugins.trac.wordpress.org/browser/optinmonster/trunk/OMAPI/RestApi.php?rev=2606519#L1460","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-25702","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-25702","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2021-39341","name":"OptinMonster Plugin < 2.6.5 - Unprotected REST-API","severity":"high","path":"http/cves/2021/CVE-2021-39341.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-39341.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-10-27","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/vulnerability/optinmonster/wordpress-optinmonster-plugin-2-6-4-unprotected-rest-api-to-sensitive-information-disclosure-and-unauthorized-api-access-vulnerability","provenance":"source"},{"date":"2021-11-01","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-39341","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":65.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1851 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.54,"detail":"percentile 0.9771"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.74,"detail":"base score 8.2"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}