Posts Viewed Recently Security & Risk Analysis

wordpress.org/plugins/posts-viewed-recently

Posts Viewed Recently plugin shows recently viewed posts or pages by a visitor as a responsive sidebar widget or on a page/post using the shortcode.

800 active installs v1.3.2 PHP + WP 3.0+ Updated Dec 10, 2020
lastrecentrecentlyviewedvisited
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Posts Viewed Recently Safe to Use in 2026?

Generally Safe

Score 85/100

Posts Viewed Recently has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The "posts-viewed-recently" plugin v1.3.2 presents a generally good security posture based on the provided static analysis. The absence of dangerous functions, file operations, external HTTP requests, and SQL queries executed without prepared statements are positive indicators. The limited attack surface, with only one shortcode and no unprotected AJAX handlers or REST API routes, further contributes to its security. However, a significant concern arises from the low percentage of properly escaped output (25%). This indicates that a substantial portion of the plugin's output may be vulnerable to Cross-Site Scripting (XSS) attacks, especially if user-supplied data is displayed without adequate sanitization.

The vulnerability history shows no known CVEs, which is a strong positive sign. This suggests a history of secure development or effective patching by developers. The lack of recorded common vulnerability types reinforces this. Despite the strong vulnerability history, the unescaped output remains a significant weakness that could be exploited. The overall conclusion is that while the plugin benefits from a minimal attack surface and a clean vulnerability record, the unescaped output presents a tangible risk that should be addressed.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Posts Viewed Recently Security Vulnerabilities

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

Posts Viewed Recently Code Analysis

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

Output Escaping

25% escaped60 total outputs
Attack Surface

Posts Viewed Recently Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[ft-recentlyviewed] ft_shortcode.php:17
WordPress Hooks 4
actionadmin_enqueue_scriptsrecent_viewed_posts.php:210
actionwidgets_initrecent_viewed_posts.php:217
actionwp_enqueue_scriptsrecent_viewed_posts.php:223
actiontemplate_redirectrecent_viewed_posts.php:229
Maintenance & Trust

Posts Viewed Recently Maintenance & Trust

Maintenance Signals

WordPress version tested5.6.17
Last updatedDec 10, 2020
PHP min version
Downloads14K

Community Trust

Rating96/100
Number of ratings10
Active installs800
Developer Profile

Posts Viewed Recently Developer Profile

Amit Sonkhiya

4 plugins · 5K total installs

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

How We Detect Posts Viewed Recently

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/posts-viewed-recently/js/recent-viewed-posts.js/wp-content/plugins/posts-viewed-recently/css/recent-viewed-posts.css
Script Paths
/wp-content/plugins/posts-viewed-recently/js/recent-viewed-posts.js
Version Parameters
posts-viewed-recently/js/recent-viewed-posts.js?ver=posts-viewed-recently/css/recent-viewed-posts.css?ver=

HTML / DOM Fingerprints

CSS Classes
ft-recently-viewed-posts
HTML Comments
<!-- Shortcode: --><!-- Shortcode: [ft-recentlyviewed widget_id="%d"] -->
Data Attributes
data-posts-viewed-recently
JS Globals
ft_recent_viewed_posts
Shortcode Output
[ft-recentlyviewed]
FAQ

Frequently Asked Questions about Posts Viewed Recently