{
    "CVE_data_meta": {
        "AKA": "Wordfence",
        "ASSIGNER": "security@wordfence.com",
        "DATE_PUBLIC": "2021-11-01T09:02:00.000Z",
        "ID": "CVE-2021-39341",
        "STATE": "PUBLIC",
        "TITLE": "OptinMonster <= 2.6.4 Unprotected REST-API Endpoints"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "OptinMonster",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "2.6.4",
                                            "version_value": "2.6.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "OptinMonster"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Chloe Chamberland, Wordfence"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-285 Improper Authorization"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-319 Cleartext Transmission of Sensitive Information"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://www.wordfence.com/blog/2021/10/1000000-sites-affected-by-optinmonster-vulnerabilities/",
                "name": "https://www.wordfence.com/blog/2021/10/1000000-sites-affected-by-optinmonster-vulnerabilities/"
            },
            {
                "refsource": "MISC",
                "url": "https://wordfence.com/vulnerability-advisories/#CVE-2021-39341",
                "name": "https://wordfence.com/vulnerability-advisories/#CVE-2021-39341"
            },
            {
                "refsource": "MISC",
                "url": "https://plugins.trac.wordpress.org/browser/optinmonster/trunk/OMAPI/RestApi.php?rev=2606519#L1460",
                "name": "https://plugins.trac.wordpress.org/browser/optinmonster/trunk/OMAPI/RestApi.php?rev=2606519#L1460"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "Update to version 2.6.5, or newer. "
        }
    ],
    "source": {
        "discovery": "UNKNOWN"
    }
}