{"id":"CVE-2021-39341","aliases":["CVE-2021-39341"],"related":[],"kind":"vulnerability","state":"published","title":"OptinMonster <= 2.6.4 Unprotected REST-API Endpoints","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin OptinMonster de WordPress es vulnerable a una divulgación de información confidencial y a la actualización no autorizada de la configuración debido a una comprobación insuficiente de la autorización por medio de la función logged_in_or_has_api_key en el archivo ~/OMAPI/RestApi.php que puede ser usada para explotar una inyección de scripts web maliciosos en los sitios con el plugin instalado. Esto afecta a las versiones hasta 2.6.4 incluyéndola","source":"nvd"}],"published":"2021-11-01T21:01:23.439Z","modified":"2026-06-17T04:03:34.893Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-319","CWE-863"],"affected":[{"ranges":[{"type":"custom","introduced":"2.6.4","lastAffected":"2.6.4","status":"affected"}],"vendor":"OptinMonster","product":"OptinMonster","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.6.4"}],"vendor":"optinmonster","product":"optinmonster","cpe":"cpe:2.3:a:optinmonster:optinmonster:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/blog/2021/10/1000000-sites-affected-by-optinmonster-vulnerabilities/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://wordfence.com/vulnerability-advisories/#CVE-2021-39341","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/optinmonster/trunk/OMAPI/RestApi.php?rev=2606519#L1460","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Chloe Chamberland, Wordfence"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-31T17:45:12.515Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39341","url":"https://www.cve.org/CVERecord?id=CVE-2021-39341","licence":"CVE Terms of Use","modified":"2025-03-31T17:45:22.682Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39341","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39341","licence":"Public domain","modified":"2026-06-17T04:03:34.893Z"}],"updatedAt":"2026-11-25T22:58:05.295Z","epss":{"score":0.21929,"percentile":0.98173,"date":"2026-11-27T12:00:25.000Z"}}