Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Jun 12, 2025

CVE-2021-39341 Scanner

CVE-2021-39341 Scanner - Information Disclosure vulnerability in OptinMonster Plugin

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
10
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
8.2
CVSShigh
Exploitable remotely over the internet · no authentication required.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
OptinMonsterby OptinMonster
2.6.4
Updated Nov 15, 2026View on NVD →
Detail

OptinMonster Plugin is a widely used WordPress add-on designed to help marketers and website owners increase their conversion rates through the use of interactive and targeted pop-ups. It is utilized across various industries for lead generation, growing mailing lists, and special promotions. The plugin is implemented on websites globally due to its effectiveness in capturing visitor information and converting site traffic. OptinMonster is favored for its ease of use and integration with major email service providers. Its diverse features cater to both beginners and advanced users, offering a customizable experience without needing extensive technical know-how. Additionally, the plugin's responsible management of campaigns makes it suitable for businesses aiming to maximize their online engagement.

The vulnerability detected in the OptinMonster Plugin exposes sensitive information due to insufficient authorization validations. This vulnerability affects versions up to 2.6.4, potentially allowing unauthorized users to access critical data and settings. The flaw resides in the REST-API endpoint, which fails to adequately verify user privileges. As a result, attackers can exploit the vulnerability to inject malicious scripts into the affected websites, posing significant security risks. The information disclosure issue undermines the confidentiality and integrity of the host system. Organizations using the compromised version must be vigilant against unauthorized access attempts or data breaches as a result of this vulnerability.

Technically, the vulnerability is present in the OptinMonster Plugin's REST-API, particularly within the file ~/OMAPI/RestApi.php. The lack of proper authorization checks in the ‘logged_in_or_has_api_key' function creates an opportunity for exploitation. Attackers can manipulate API requests to intercept and modify sensitive data fields. Successful exploitation can result in the compromise of sensitive information, including server details and plugin configurations. The exposure occurs when API endpoints improperly handle authentication tokens, which can be hijacked or omitted altogether. To be secure, the validation mechanisms must be robustly implemented to prevent unauthorized access.

If exploited, the Information Disclosure vulnerability could have severe repercussions for websites using affected versions of the OptinMonster Plugin. Attackers may gain unauthorized access to sensitive website metrics and configuration settings, leading to compromised website integrity. Malicious scripts injected via the vulnerability could redirect users to harmful websites or collect personal data without consent. Moreover, tampering with the plugin settings might disrupt normal business operations, causing reputational damage and loss of user trust. Proactively addressing the vulnerability is crucial to maintaining secure and trustworthy online operations.

REFERENCES

Solution Advice
  • Update the OptinMonster Plugin to version 2.6.5 or later.
  • Implement additional user authentication mechanisms to secure REST-API access points.
  • Regularly monitor system logs for suspicious activities related to REST-API access.
  • Conduct comprehensive security audits to ensure compliance with best practices.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools