Newest Posts Widget Security & Risk Analysis

wordpress.org/plugins/newest-posts

A widget that display the new posts of your site with Thumbnail, Excerpt, Date etc options.

10 active installs v1.0 PHP + WP 3.0+ Updated Apr 1, 2018
latest-posts-widgetnew-posts-widgetpostsposts-widgetwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Newest Posts Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 8yr ago
Risk Assessment

The "newest-posts" v1.0 plugin exhibits a mixed security posture. On the positive side, it demonstrates a clean vulnerability history with no known CVEs and a complete absence of file operations, external HTTP requests, and external dependencies. All SQL queries are properly prepared, and there are no identified taint flows, suggesting a generally safe approach to data handling in these areas. However, significant concerns arise from the static code analysis. The presence of two instances of the `create_function` construct is a critical security flaw, as this function is deprecated and notoriously insecure, often leading to arbitrary code execution vulnerabilities. Furthermore, a very low percentage of output is properly escaped, indicating a high risk of cross-site scripting (XSS) vulnerabilities across numerous output points. The lack of any capability checks, nonce checks, or authentication checks on its zero entry points, while seemingly positive due to the lack of entry points, does not mitigate the inherent risks of insecure coding practices within the plugin's logic itself if any were to be triggered or if the attack surface were to expand in future versions.

Key Concerns

  • Use of create_function (dangerous function)
  • Low percentage of properly escaped output
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Newest Posts Widget Security Vulnerabilities

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

Newest Posts Widget Code Analysis

Dangerous Functions
2
Raw SQL Queries
0
0 prepared
Unescaped Output
41
4 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

create_function$new_excerpt_length = create_function( '$length', "return " . $instance["excerpt_length"] . ";" );newest-posts.php:82
create_functionadd_action( 'widgets_init', create_function( '', 'return register_widget("NP_Widget");' ) );newest-posts.php:280

Output Escaping

9% escaped45 total outputs
Attack Surface

Newest Posts Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionwp_enqueue_scriptsnewest-posts.php:24
actioninitnewest-posts.php:41
filterexcerpt_lengthnewest-posts.php:85
actionwidgets_initnewest-posts.php:280
Maintenance & Trust

Newest Posts Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedApr 1, 2018
PHP min version
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Newest Posts Widget Developer Profile

Nipun Tyagi

2 plugins · 10 total installs

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

How We Detect Newest Posts Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/newest-posts/np-widget/np-style.css

HTML / DOM Fingerprints

CSS Classes
np-widgetrecent-post-thumb-itempost-titlepost-datecomment-num
Data Attributes
id="np-widget"class="np-widget"title="Permanent link tovalue="j M Y"name="num"name="sort_by"+8 more
FAQ

Frequently Asked Questions about Newest Posts Widget