BadgeOS REST API Addon Security & Risk Analysis

wordpress.org/plugins/badgeos-rest-api-addon

Convert your BadgeOS badges into verifiable badges which are complying with the Open Badges Specifications, and are sharable across the web.

20 active installs v1.1.0 PHP + WP 4.0+ Updated Feb 28, 2022
apibadgeosbadgesrest-api
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is BadgeOS REST API Addon Safe to Use in 2026?

Generally Safe

Score 85/100

BadgeOS REST API Addon has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The security posture of badgeos-rest-api-addon v1.1.0 shows a mix of good practices and significant concerns. On the positive side, the plugin demonstrates a commitment to secure coding by utilizing prepared statements for the majority of its SQL queries and properly escaping almost all of its output. The absence of any recorded vulnerabilities, past or present, is also a strong indicator of robust security. However, the analysis reveals a critical weakness in its attack surface. With one unprotected AJAX handler, it presents a direct entry point for malicious actors. The lack of nonce checks on this handler further exacerbates this risk, making it susceptible to Cross-Site Request Forgery (CSRF) attacks. While the plugin performs capability checks, the absence of a nonce check on an unprotected entry point is a glaring oversight that could lead to unauthorized actions being performed on behalf of authenticated users.

The static analysis highlights a single unprotected AJAX handler as the primary security concern. This unprotected entry point, combined with the absence of nonce checks, creates a significant risk of CSRF vulnerabilities. Fortunately, the plugin's SQL queries and output escaping are generally well-handled, and there are no critical or high-severity taint flows identified. The vulnerability history, showing zero known CVEs, suggests that the plugin has historically been secure. However, the presence of a single, unprotected AJAX handler overshadows these strengths and represents a readily exploitable vulnerability. Therefore, while the plugin exhibits good practices in many areas, the identified unprotected AJAX handler presents a substantial and immediate risk that requires urgent attention.

Key Concerns

  • Unprotected AJAX handler without auth checks
  • Missing nonce checks on AJAX handlers
Vulnerabilities
None known

BadgeOS REST API Addon Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

BadgeOS REST API Addon Code Analysis

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

Bundled Libraries

Select2

SQL Query Safety

69% prepared32 total queries

Output Escaping

95% escaped120 total outputs
Attack Surface
1 unprotected

BadgeOS REST API Addon Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_badgeos_restapi_api_generateincludes\api-widget.php:142
WordPress Hooks 15
actionadmin_enqueue_scriptsbadgeos-rest-api.php:142
actionwp_enqueue_scriptsbadgeos-rest-api.php:143
actionplugins_loadedbadgeos-rest-api.php:144
actionadmin_noticesbadgeos-rest-api.php:251
actionplugins_loadedbadgeos-rest-api.php:261
actionrest_api_initincludes\achievements-api.php:25
actionbadgeos_achievements_new_addedincludes\achievements-api.php:27
actioninitincludes\api-keys.php:26
actioncmb2_admin_initincludes\api-keys.php:27
actionwidgets_initincludes\api-widget.php:134
actionrest_api_initincludes\points-api.php:25
actionrest_api_initincludes\ranks-api.php:25
actionbadgeos_after_award_rankincludes\ranks-api.php:26
actionbadgeos_general_settings_tab_headerincludes\settings.php:25
actionbadgeos_general_settings_tab_contentincludes\settings.php:26
Maintenance & Trust

BadgeOS REST API Addon Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedFeb 28, 2022
PHP min version
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs20
Developer Profile

BadgeOS REST API Addon Developer Profile

learningtimes

12 plugins · 720 total installs

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

How We Detect BadgeOS REST API Addon

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/badgeos-rest-api-addon/assets/css/select2.min.css/wp-content/plugins/badgeos-rest-api-addon/assets/js/select2.min.js/wp-content/plugins/badgeos-rest-api-addon/assets/js/bos-api-admin-script.js/wp-content/plugins/badgeos-rest-api-addon/assets/css/bos-api-admin-style.css/wp-content/plugins/badgeos-rest-api-addon/assets/css/bos-api-frontend-style.css/wp-content/plugins/badgeos-rest-api-addon/assets/js/bos-api-frontend-script.js
Script Paths
/wp-content/plugins/badgeos-rest-api-addon/assets/js/select2.min.js/wp-content/plugins/badgeos-rest-api-addon/assets/js/bos-api-admin-script.js/wp-content/plugins/badgeos-rest-api-addon/assets/js/bos-api-frontend-script.js
Version Parameters
badgeos-rest-api-addon/assets/css/select2.min.css?ver=badgeos-rest-api-addon/assets/js/select2.min.js?ver=badgeos-rest-api-addon/assets/js/bos-api-admin-script.js?ver=badgeos-rest-api-addon/assets/css/bos-api-admin-style.css?ver=badgeos-rest-api-addon/assets/css/bos-api-frontend-style.css?ver=badgeos-rest-api-addon/assets/js/bos-api-frontend-script.js?ver=

HTML / DOM Fingerprints

JS Globals
BosAPIVars
REST Endpoints
/wp-json/bos-api/
FAQ

Frequently Asked Questions about BadgeOS REST API Addon