
WP Datepicker Security & Risk Analysis
wordpress.org/plugins/wp-datepickerA great plugin to implement custom styled jQuery UI datepicker site-wide.
Is WP Datepicker Safe to Use in 2026?
Generally Safe
Score 96/100WP Datepicker has a strong security track record. Known vulnerabilities have been patched promptly.
The wp-datepicker v2.1.6 plugin presents a mixed security posture. While it has a relatively small attack surface with all identified entry points having authentication checks, and a good number of nonce and capability checks, several concerning code signals and its vulnerability history suggest potential weaknesses. The presence of the `unserialize` function is a significant red flag, as it can lead to remote code execution if not handled with extreme care and proper input sanitization. Furthermore, only 33% of SQL queries utilize prepared statements, leaving a substantial portion vulnerable to SQL injection attacks. The taint analysis also identified two flows with unsanitized paths, indicating potential avenues for attackers to manipulate the application's behavior.
The plugin's historical vulnerability data is also a cause for concern. With four known CVEs, including one high-severity vulnerability and three medium-severity ones, it suggests a pattern of security flaws. The common vulnerability types being Missing Authorization and Cross-site Scripting further reinforce the risks associated with improper input handling and access control. Although there are currently no unpatched vulnerabilities, the frequency and types of past issues indicate a need for diligent patching and ongoing security scrutiny.
In conclusion, while the plugin demonstrates some good security practices like proper authentication on entry points, the presence of dangerous functions, raw SQL queries, unsanitized data flows, and a history of diverse vulnerabilities necessitate a cautious approach. The potential for critical vulnerabilities like RCE via unserialize and SQL injection, coupled with the past occurrences of XSS and authorization issues, makes this plugin a moderate to high risk, depending on the specific nature of the unsanitized flows and the actual implementation of the `unserialize` usage.
Key Concerns
- Dangerous function: unserialize present
- Low percentage of prepared SQL statements
- Unsanitized paths found in taint analysis
- High severity vulnerability in history
- Multiple medium severity vulnerabilities in history
- Low output escaping percentage
WP Datepicker Security Vulnerabilities
CVEs by Year
Severity Breakdown
4 total CVEs
WP Datepicker <= 2.1.4 - Reflected Cross-Site Scripting
WP Datepicker <= 2.1.1 - Missing Authorization
WP Datepicker <= 2.1.1 - Authenticated (Administrator+) Stored Cross-Site Scripting
WP Datepicker <= 2.1.0 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Options Update
WP Datepicker Code Analysis
Dangerous Functions Found
SQL Query Safety
Output Escaping
Data Flow Analysis
WP Datepicker Attack Surface
AJAX Handlers 3
WordPress Hooks 5
Maintenance & Trust
WP Datepicker Maintenance & Trust
Maintenance Signals
Community Trust
WP Datepicker Alternatives
Availability Datepicker – Booking Calendar for Contact Form 7 – Input WP
date-time-picker-field
Availability datepicker & booking calendar for any form. Configure business hours, time slots, date overrides and a booking window.
jQuery Updater
jquery-updater
This plugin updates jQuery to the latest stable version on your website.
Date and Time Picker Field
acf-field-date-time-picker
Date and Time Picker field for Advanced Custom Fields
WP responsive FAQ with category plugin
sp-faq
A quick, easy way to add an responsive FAQs page. You can use this plugin as a jQuery UI accordion. Also work with Gutenberg shortcode block.
jQuery UI Widgets
jquery-ui-widgets
Simple, flexible, and powerful way to add jQuery UI widgets to your site posts, pages, or widgets. Works right out of the box!
WP Datepicker Developer Profile
40 plugins · 33K total installs
How We Detect WP Datepicker
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/wp-datepicker/css/wpdp_auto_style.css/wp-content/plugins/wp-datepicker/js/wpdp_auto_script.js/wp-content/plugins/wp-datepicker/js/wpdp_auto_script.jswp-datepicker/css/wpdp_auto_style.css?ver=wp-datepicker/js/wpdp_auto_script.js?ver=HTML / DOM Fingerprints
wpdp-input<!-- THIS IS FOR TESTING THE CODE --><!-- FOR TESTING THE CODE IN SIDEBAR AND FOOTER --><!-- FOR THE PLUGIN IN SIDEBAR AND FOOTER --><!-- FOR THE PLUGIN IN ADMIN PANEL -->data-wpdp-date-formatdata-wpdp-default-datedata-wpdp-change-monthdata-wpdp-change-yeardata-wpdp-year-rangedata-wpdp-show-month-after-year+35 morewpdp_obj/wp-json/wpdp-android-settings/v1<input type="text" class="wpdp-input"