8.2high
OptinMonster <= 2.6.4 Unprotected REST-API Endpoints
- Severity
- 8.2high CVSS:3.1 by Wordfence
- Exploit likelihood
- 21.9% (higher than 98% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OptinMonster OptinMonster | from 2.6.4 up to 2.6.4, up to 2.6.4 | CVE List, NVD |
All scores
| Wordfence | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
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
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39341 changed 2025-03-31 | CVE Terms of Use |
| NVD | CVE-2021-39341 changed 2026-06-17 | Public domain |