WP REST API – OAuth 1.0a Server Security & Risk Analysis

wordpress.org/plugins/rest-api-oauth1

Connect applications to your WordPress site without ever giving away your password.

8K active installs v0.4.4 PHP 5.4+ WP 4.4+ Updated Aug 5, 2024
apijsonrestrest-api
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP REST API – OAuth 1.0a Server Safe to Use in 2026?

Generally Safe

Score 92/100

WP REST API – OAuth 1.0a Server has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The plugin 'rest-api-oauth1' v0.4.4 exhibits a mixed security posture. On the positive side, the static analysis reveals no reported CVEs, a clean vulnerability history, and a small attack surface with no identified AJAX handlers, REST API routes, shortcodes, or cron events that are accessible without authentication or permission checks. Furthermore, there are no dangerous functions, file operations, or external HTTP requests detected. However, several areas raise concerns. The presence of one SQL query that does not utilize prepared statements is a significant risk, as it could be vulnerable to SQL injection if not handled with extreme care by the developer. The taint analysis shows two flows with unsanitized paths, and while no critical or high severity issues were flagged, this warrants attention as it suggests potential for data manipulation if these paths are exposed to user input. The lack of nonce checks and capability checks across the board, coupled with a lower percentage of properly escaped output (84%), indicate potential weaknesses that could be exploited if an attacker finds a way to trigger these unverified code paths.

Key Concerns

  • SQL query without prepared statements
  • Taint flows with unsanitized paths
  • Lack of nonce checks
  • Lack of capability checks
  • Insufficient output escaping
Vulnerabilities
None known

WP REST API – OAuth 1.0a Server Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

WP REST API – OAuth 1.0a Server Release Timeline

v0.4.5
v0.4.4Current
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.0
Code Analysis
Analyzed Mar 16, 2026

WP REST API – OAuth 1.0a Server Code Analysis

Dangerous Functions
0
Raw SQL Queries
1
0 prepared
Unescaped Output
3
16 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

0% prepared1 total queries

Output Escaping

84% escaped19 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
rest_oauth1_profile_save (admin.php:99)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP REST API – OAuth 1.0a Server Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
actionadmin_menuadmin.php:8
actionpersonal_optionsadmin.php:10
actionall_admin_noticesadmin.php:12
actionpersonal_options_updateadmin.php:14
actionedit_user_profile_updateadmin.php:15
actioninitoauth-server.php:49
actioninitoauth-server.php:79
filterdetermine_current_useroauth-server.php:91
filterrest_authentication_errorsoauth-server.php:92
actioninitoauth-server.php:94
actioninitoauth-server.php:116
actiontemplate_redirectoauth-server.php:159
filterrest_indexoauth-server.php:180
actioninitoauth-server.php:192
Maintenance & Trust

WP REST API – OAuth 1.0a Server Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedAug 5, 2024
PHP min version5.4
Downloads161K

Community Trust

Rating74/100
Number of ratings7
Active installs8K
Developer Profile

WP REST API – OAuth 1.0a Server Developer Profile

Joe Hoyle

4 plugins · 9K total installs

81
trust score
Avg Security Score
81/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect WP REST API – OAuth 1.0a Server

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

Asset Fingerprints

HTML / DOM Fingerprints

HTML Comments
Hello adventurer, and welcome to the OAuth Server codebase!The codebase has three main parts: - OAuth token handling (lib/class-wp-rest-oauth1.php) - Frontend UI (lib/class-wp-rest-oauth1-ui.php and theme/oauth1-authorize.php)+23 more
REST Endpoints
oauth1/requestoauth1/authorizeoauth1/access
FAQ

Frequently Asked Questions about WP REST API – OAuth 1.0a Server