WP-RelativeDate Security & Risk Analysis

wordpress.org/plugins/wp-relativedate

Displays relative date alongside with your post/comments actual date.

100 active installs v1.51 PHP + WP 2.8+ Updated Aug 9, 2023
agodatedaysrelativerelativedate
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP-RelativeDate Safe to Use in 2026?

Generally Safe

Score 85/100

WP-RelativeDate has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The wp-relativedate plugin v1.51 demonstrates a generally good security posture based on the provided static analysis. The absence of dangerous functions, external HTTP requests, file operations, and the consistent use of prepared statements for SQL queries are all positive indicators. Furthermore, the vulnerability history shows no recorded CVEs, suggesting a history of secure development or diligent patching by the authors.

However, there are some areas for concern. The lack of nonce checks and capability checks on the identified entry points (shortcodes) is a significant weakness. While the attack surface is small (only two shortcodes and no unprotected AJAX or REST API routes), any user-supplied input processed by these shortcodes could potentially be exploited without proper authorization or validation. The 89% output escaping rate, while high, still leaves a small window for potential cross-site scripting (XSS) vulnerabilities if the unescaped outputs are user-controlled.

In conclusion, the plugin exhibits strong fundamental security practices. The main risk lies in the potential for privilege escalation or unauthorized actions via the shortcodes due to the absence of nonce and capability checks. While the lack of past vulnerabilities is a positive sign, it doesn't negate the current identified risks. Addressing the missing authorization checks on the shortcodes would significantly improve the plugin's security.

Key Concerns

  • Missing nonce checks on entry points
  • Missing capability checks on entry points
  • Minor unescaped output detected
Vulnerabilities
None known

WP-RelativeDate Security Vulnerabilities

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

WP-RelativeDate Release Timeline

v1.50
v1.40
v1.31
v1.30
v1.20
v1.11
v1.10
v1.00
v1.00beta
Code Analysis
Analyzed Mar 16, 2026

WP-RelativeDate Code Analysis

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

Output Escaping

89% escaped9 total outputs
Attack Surface

WP-RelativeDate Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[relativedate] wp-relativedate.php:205
[relativetime] wp-relativedate.php:210
WordPress Hooks 5
actionplugins_loadedwp-relativedate.php:32
filterthe_datewp-relativedate.php:38
filterthe_timewp-relativedate.php:114
filterget_comment_datewp-relativedate.php:144
filterget_comment_timewp-relativedate.php:176
Maintenance & Trust

WP-RelativeDate Maintenance & Trust

Maintenance Signals

WordPress version tested6.3.8
Last updatedAug 9, 2023
PHP min version
Downloads42K

Community Trust

Rating60/100
Number of ratings2
Active installs100
Developer Profile

WP-RelativeDate Developer Profile

Lester Chan

20 plugins · 888K total installs

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

How We Detect WP-RelativeDate

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

Asset Fingerprints

HTML / DOM Fingerprints

Shortcode Output
TodayYesterdayday agodays ago
FAQ

Frequently Asked Questions about WP-RelativeDate