Bitly URL Shortener Security & Risk Analysis

wordpress.org/plugins/codehaveli-bitly-url-shortener

Bitly URL Shortener uses the functionality of Bitly API to generate Bitly short link without leaving your WordPress site.

600 active installs v1.5.1 PHP 7.4+ WP 5.6+ Updated Jan 29, 2026
bitlyconnectorpostshort-urlurl-shortener
99
A · Safe
CVEs total1
Unpatched0
Last CVEJun 5, 2025
Safety Verdict

Is Bitly URL Shortener Safe to Use in 2026?

Generally Safe

Score 99/100

Bitly URL Shortener has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Jun 5, 2025Updated 2mo ago
Risk Assessment

The codehaveli-bitly-url-shortener plugin v1.5.1 exhibits a generally strong security posture based on the static analysis. The absence of dangerous functions, file operations, and raw SQL queries, along with the heavy reliance on prepared statements and a good proportion of properly escaped output, are positive indicators. The presence of nonce and capability checks across most entry points further strengthens its defense. However, the plugin does make external HTTP requests, which can introduce risks if not handled securely, and the existence of one past medium severity vulnerability, even if currently patched, warrants continued vigilance.

The lack of any critical or high severity taint flows and the minimal attack surface with no unprotected entry points are commendable. The vulnerability history indicates a past medium severity issue, common to CSRF, which suggests a pattern of potential issues that require careful handling of user input and actions. While the static analysis itself is promising, the past vulnerability and the single external HTTP request are minor points of attention.

In conclusion, the plugin demonstrates good security practices with a well-mitigated attack surface. The presence of a past medium vulnerability suggests that while the current version appears secure, developers should remain aware of the plugin's history and the potential for similar vulnerabilities to emerge in future updates. The external HTTP request, while not a direct vulnerability in this analysis, is an area to monitor for secure implementation.

Key Concerns

  • One past medium vulnerability
  • External HTTP requests present
Vulnerabilities
1

Bitly URL Shortener Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-30629medium · 4.3Cross-Site Request Forgery (CSRF)

Bitly URL Shortener <= 1.4.1 - Cross-Site Request Forgery

Jun 5, 2025 Patched in 1.5.0 (244d)
Code Analysis
Analyzed Mar 16, 2026

Bitly URL Shortener Code Analysis

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

Output Escaping

81% escaped96 total outputs
Attack Surface

Bitly URL Shortener Attack Surface

Entry Points2
Unprotected0

REST API Routes 2

POST/wp-json/wbitly/v1/generate/(?P<post_id>\d+)src\API\WpRest.php:42
GET/wp-json/wbitly/v1/meta/(?P<id>\d+)src\API\WpRest.php:72
WordPress Hooks 18
actionplugins_loadedcodehaveli-bitly-url-shortener.php:38
actionadmin_noticescodehaveli-bitly-url-shortener.php:71
actionplugins_loadedcodehaveli-bitly-url-shortener.php:112
actionadmin_enqueue_scriptssrc\Admin\Assets.php:25
actionenqueue_block_editor_assetssrc\Admin\Assets.php:26
filterpre_get_shortlinksrc\Admin\Hooks.php:30
actiontransition_post_statussrc\Admin\Hooks.php:31
actioninitsrc\Admin\Hooks.php:33
actionadd_meta_boxessrc\Admin\Metabox.php:31
actionadmin_bar_menusrc\Admin\Metabox.php:32
actionadmin_initsrc\Admin\PostColumn.php:23
actionadmin_menusrc\Admin\Settings.php:41
actionadmin_initsrc\Admin\Settings.php:42
actioninitsrc\Admin\Settings.php:43
actionadmin_noticessrc\Admin\Settings.php:44
actionadmin_noticessrc\Admin\Settings.php:45
actionrest_api_initsrc\API\WpRest.php:33
filterduplicate_post_excludelist_filtersrc\Support\ThirdParty.php:53
Maintenance & Trust

Bitly URL Shortener Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 29, 2026
PHP min version7.4
Downloads15K

Community Trust

Rating100/100
Number of ratings5
Active installs600
Developer Profile

Bitly URL Shortener Developer Profile

Codehaveli

1 plugin · 600 total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
244 days
View full developer profile
Detection Fingerprints

How We Detect Bitly URL Shortener

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/codehaveli-bitly-url-shortener/build/admin/admin.min.js/wp-content/plugins/codehaveli-bitly-url-shortener/build/admin/admin.min.css/wp-content/plugins/codehaveli-bitly-url-shortener/build/admin/sidebar.min.js
Script Paths
/wp-content/plugins/codehaveli-bitly-url-shortener/build/admin/admin.min.js/wp-content/plugins/codehaveli-bitly-url-shortener/build/admin/sidebar.min.js
Version Parameters
codehaveli-bitly-url-shortener/build/admin/admin.min.js?ver=codehaveli-bitly-url-shortener/build/admin/admin.min.css?ver=codehaveli-bitly-url-shortener/build/admin/sidebar.min.js?ver=

HTML / DOM Fingerprints

JS Globals
wbitlyDatawbitlyPostData
REST Endpoints
/wp-json/wbitly/v1/settings
FAQ

Frequently Asked Questions about Bitly URL Shortener