
No unsafe-inline Security & Risk Analysis
wordpress.org/plugins/no-unsafe-inlineNo unsafe-inline helps you to build a Content Security Policy avoiding to use 'unsafe-inline' and 'unsafe-hashes'.
Is No unsafe-inline Safe to Use in 2026?
Generally Safe
Score 100/100No unsafe-inline has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "no-unsafe-inline" v1.3.0 plugin exhibits a concerning security posture due to a significant number of unprotected entry points. With 7 unprotected AJAX handlers and 1 unprotected REST API route, the plugin exposes a substantial attack surface that could be exploited by unauthenticated users. While the majority of SQL queries use prepared statements and a good percentage of outputs are properly escaped, these strengths are overshadowed by the lack of basic authorization checks on critical entry points. The taint analysis, while not revealing critical or high severity issues, did identify flows with unsanitized paths, which in conjunction with the unprotected entry points, warrants careful consideration. The plugin's history of zero known vulnerabilities is a positive indicator, suggesting the developers may be diligent or that the plugin hasn't been a significant target. However, this lack of history doesn't negate the risks presented by the current code's structural weaknesses. The primary concern is the ease with which an attacker could interact with these unprotected endpoints. To improve its security, the plugin must implement proper authentication and capability checks on all AJAX handlers and REST API routes. The presence of unsanitized paths also requires a thorough review and sanitization to prevent potential injection vulnerabilities.
Key Concerns
- Unprotected AJAX handlers
- Unprotected REST API routes
- Flows with unsanitized paths
No unsafe-inline Security Vulnerabilities
No unsafe-inline Code Analysis
SQL Query Safety
Output Escaping
Data Flow Analysis
No unsafe-inline Attack Surface
AJAX Handlers 7
REST API Routes 1
WordPress Hooks 29
Maintenance & Trust
No unsafe-inline Maintenance & Trust
Maintenance Signals
Community Trust
No unsafe-inline Alternatives
Content Security Policy Manager
csp-manager
Plugin for configuring Content Security Policy headers for your site. Allows different CSP headers for admin, logged inn frontend and regular visitors
GD Security Headers
gd-security-headers
Configure various security-related HTTP headers, including CSP, XSS, Referrer Policy and more.
CSP Friendly Security
csp-antsst
Adds a CSP header compatible with most WP plugins without breaking styles.
SeaSP Community Edition
sea-sp-community-edition
SeaSP Community Edition is an automated Content Security Policy Manager. SeaSP allows you to create, configure, manage, and deploy a Content Security …
GDPR Helper using CSP
gdpr-helper
This plugin allows easy addition of Content Security Policy
No unsafe-inline Developer Profile
2 plugins · 700 total installs
How We Detect No unsafe-inline
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/no-unsafe-inline/css/no-unsafe-inline-admin.css/wp-content/plugins/no-unsafe-inline/js/no-unsafe-inline-admin.js/wp-content/plugins/no-unsafe-inline/js/no-unsafe-inline-admin.jsno-unsafe-inline/css/no-unsafe-inline-admin.css?ver=no-unsafe-inline/js/no-unsafe-inline-admin.js?ver=no-unsafe-inline/css/jqueryui/no-unsafe-inline/css/jqueryui/css/smoothness/jquery-ui.css?ver=