CVE-2021-39341
OptinMonster <= 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 (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 21.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 31 Mar 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| OptinMonster |
affected from 2.6.4 up to and including 2.6.4
|
Is my server affected?
This CVE is in OptinMonster of OptinMonster, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/blog/2021/10/1000000-sites-affected-by-optinmonster-vulnerabilities/ wordfence.com
- https://wordfence.com/vulnerability-advisories/#CVE-2021-39341 wordfence.com
- https://plugins.trac.wordpress.org/browser/optinmonster/trunk/OMAPI/RestApi.php?rev=2606519#L1460 plugins.trac.wordpress.org
Source: the record CVE-2021-39341 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse