Google Authenticator Security & Risk Analysis

wordpress.org/plugins/google-authenticator

Google Authenticator for your WordPress blog.

20K active installs v0.54 PHP + WP 4.5+ Updated Jul 4, 2022
authenticationloginotppasswordsecurity
85
A · Safe
CVEs total1
Unpatched0
Last CVEApr 28, 2016
Safety Verdict

Is Google Authenticator Safe to Use in 2026?

Generally Safe

Score 85/100

Google Authenticator has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Apr 28, 2016Updated 3yr ago
Risk Assessment

The 'google-authenticator' plugin version 0.54 presents a generally good security posture with several positive indicators. The complete absence of unprotected entry points, including AJAX handlers and REST API routes, is a significant strength. Furthermore, the plugin exclusively uses prepared statements for SQL queries, mitigating the risk of SQL injection. It also demonstrates good practice by implementing nonce and capability checks on a majority of its code paths.

However, the static analysis reveals a concerning area: only 38% of output escaping is properly handled. This indicates a potential vulnerability to cross-site scripting (XSS) attacks, where unsanitized data could be injected into the browser. The presence of one flow with unsanitized paths, even if not classified as critical or high severity in the taint analysis, warrants attention. The plugin's vulnerability history, although currently clear of unpatched issues, shows a past medium severity vulnerability related to improper authentication in 2016. This suggests that while the plugin has addressed past issues, the nature of the past vulnerability implies a need for ongoing vigilance in authentication mechanisms.

Key Concerns

  • Insufficient output escaping (38%)
  • Flow with unsanitized paths found
  • Past medium severity vulnerability (Improper Auth)
Vulnerabilities
1

Google Authenticator Security Vulnerabilities

CVEs by Year

1 CVE in 2016
2016
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

Google Authenticator <= 0.47 - Improper Authentication

Apr 28, 2016 Patched in 0.48 (2826d)
Code Analysis
Analyzed Mar 16, 2026

Google Authenticator Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
37
23 escaped
Nonce Checks
2
Capability Checks
7
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

38% escaped60 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

4 flows1 with unsanitized paths
profile_personal_options (google-authenticator.php:670)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Google Authenticator Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_GoogleAuthenticator_actiongoogle-authenticator.php:86
WordPress Hooks 14
actioninitgoogle-authenticator.php:67
actionlogin_formgoogle-authenticator.php:79
actionlogin_footergoogle-authenticator.php:80
filterauthenticategoogle-authenticator.php:83
actionpersonal_options_updategoogle-authenticator.php:89
actionprofile_personal_optionsgoogle-authenticator.php:90
actionedit_user_profilegoogle-authenticator.php:91
actionedit_user_profile_updategoogle-authenticator.php:92
actionadmin_enqueue_scriptsgoogle-authenticator.php:94
actionadmin_menugoogle-authenticator.php:95
actionnetwork_admin_menugoogle-authenticator.php:96
actioncurrent_screengoogle-authenticator.php:97
actionadmin_noticesgoogle-authenticator.php:98
actionload-admin_page_google_authenticator_user_pagegoogle-authenticator.php:99
Maintenance & Trust

Google Authenticator Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJul 4, 2022
PHP min version
Downloads688K

Community Trust

Rating86/100
Number of ratings134
Active installs20K
Developer Profile

Google Authenticator Developer Profile

Ivan

2 plugins · 21K total installs

69
trust score
Avg Security Score
85/100
Avg Patch Time
2826 days
View full developer profile
Detection Fingerprints

How We Detect Google Authenticator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/google-authenticator/jquery.qrcode.min.js
Script Paths
/wp-content/plugins/google-authenticator/jquery.qrcode.min.js

HTML / DOM Fingerprints

Data Attributes
data-current-urldata-ga-disabled-warningdata-ga-success-messagedata-ga-secretdata-ga-titledata-ga-user+7 more
JS Globals
google_authenticator_ajax_object
FAQ

Frequently Asked Questions about Google Authenticator