Login with Cognito Security & Risk Analysis

wordpress.org/plugins/login-with-cognito

WordPress Login with Cognito plugin allows Login ( Single Sign-On ) to WordPress using AWS Cognito account credentials. You can Login to your WordPres …

100 active installs v1.5.3 PHP + WP 3.0.1+ Updated May 20, 2025
amazonawscognitooauth-2-0sso
97
A · Safe
CVEs total3
Unpatched0
Last CVEDec 7, 2022
Safety Verdict

Is Login with Cognito Safe to Use in 2026?

Generally Safe

Score 97/100

Login with Cognito has a strong security track record. Known vulnerabilities have been patched promptly.

3 known CVEsLast CVE: Dec 7, 2022Updated 10mo ago
Risk Assessment

The "login-with-cognito" plugin v1.5.3 exhibits a mixed security posture. On the positive side, static analysis indicates good practices such as 100% use of prepared statements for SQL queries, a high percentage of properly escaped output, and the presence of nonce and capability checks. There are no direct indications of critical or high-severity vulnerabilities within the current static analysis of the code itself, with zero unprotected entry points. However, the plugin's history of three known CVEs, including a past critical vulnerability related to Authentication Bypass and Cross-site Scripting, is a significant concern. While currently unpatched vulnerabilities are zero, this history suggests a recurring pattern of exploitable flaws that have required significant attention in the past. The presence of unsanitized paths in taint analysis, even without critical or high severity, warrants attention as it could potentially lead to vulnerabilities if not handled carefully.

Overall, while the current version of the plugin appears to have addressed immediate critical issues and follows some good security practices, the historical pattern of vulnerabilities cannot be ignored. The plugin's reliance on external HTTP requests (15) and the use of a bundled library (DataTables) could also introduce risks if not managed properly. The past critical vulnerabilities, even if patched, indicate that the codebase has been susceptible to serious flaws, demanding continued vigilance and thorough auditing. Therefore, while the immediate static analysis is somewhat reassuring, the historical context necessitates a cautious approach to its security.

Key Concerns

  • Past critical vulnerability history
  • Past medium vulnerability history (2 instances)
  • Taint flows with unsanitized paths
  • Bundled library (DataTables)
Vulnerabilities
3

Login with Cognito Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
2 CVEs in 2022
2022
Patched Has unpatched

Severity Breakdown

Critical
1
Medium
2

3 total CVEs

CVE-2022-4200medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Login with Cognito <= 1.4.8 - Authenticated (Admin+) Stored Cross-Site Scripting

Dec 7, 2022 Patched in 1.4.9 (412d)
WF-7c3ae610-44ef-4354-b085-00c00a486dc9-login-with-cognitocritical · 9.8Authentication Bypass Using an Alternate Path or Channel

Login with Cognito <= 1.4.6 - Authentication Bypass

Jun 22, 2022 Patched in 1.4.7 (580d)
WF-44cbaa25-7e91-4b2e-81c4-ba1d7ba02350-login-with-cognitomedium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Multiple miniOrange Plugins (Various Version) - Reflected Cross-Site Scripting

Aug 30, 2021 Patched in 1.4.4 (876d)
Code Analysis
Analyzed Mar 16, 2026

Login with Cognito Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
4
354 escaped
Nonce Checks
18
Capability Checks
11
File Operations
0
External Requests
15
Bundled Libraries
1

Bundled Libraries

DataTables

Output Escaping

99% escaped358 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

6 flows2 with unsanitized paths
mocognito_login_validate (class-mocognito-widget.php:249)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Login with Cognito Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[mo_oauth_login] mo_oauth_settings.php:35
WordPress Hooks 17
actionwp_enqueue_scriptsclass-mocognito-widget.php:18
actioninitclass-mocognito-widget.php:19
actionwp_logoutclass-mocognito-widget.php:20
actionlogin_formclass-mocognito-widget.php:21
actionwp_enqueue_scriptsclass-mocognito-widget.php:22
actionwidgets_initclass-mocognito-widget.php:623
actioninitclass-mocognito-widget.php:624
actionadmin_enqueue_scriptsincludes\class-mocognito-oauth-client.php:60
actionadmin_enqueue_scriptsincludes\class-mocognito-oauth-client.php:61
actionadmin_menuincludes\class-mocognito-oauth-client.php:62
actionadmin_enqueue_scriptsincludes\class-mocognito-oauth-client.php:63
actionadmin_enqueue_scriptsincludes\class-mocognito-oauth-client.php:64
actionadmin_initmo_oauth_settings.php:30
actionplugins_loadedmo_oauth_settings.php:31
actionadmin_footermo_oauth_settings.php:36
actionadmin_noticesmo_oauth_settings.php:94
actionadmin_noticesmo_oauth_settings.php:102
Maintenance & Trust

Login with Cognito Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 20, 2025
PHP min version
Downloads8K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Login with Cognito Developer Profile

miniOrange

38 plugins · 83K total installs

76
trust score
Avg Security Score
96/100
Avg Patch Time
324 days
View full developer profile
Detection Fingerprints

How We Detect Login with Cognito

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/login-with-cognito/resources/css/style.css/wp-content/plugins/login-with-cognito/resources/js/login-with-cognito.js
Version Parameters
login-with-cognito/resources/css/style.css?ver=login-with-cognito/resources/js/login-with-cognito.js?ver=

HTML / DOM Fingerprints

CSS Classes
mo_oauth_loginminiOrange_login_buttonminiOrange_login_form
HTML Comments
<!-- MoCognito OAuth class --><!-- Constructor --><!-- Success Message --><!-- Feedback Request -->+7 more
Data Attributes
data-plugin-name="login-with-cognito"data-plugin-version="1.5.3"
JS Globals
window.moCognitoOAuth
Shortcode Output
[mo_oauth_login]
FAQ

Frequently Asked Questions about Login with Cognito