
Better Resource Hints Security & Risk Analysis
wordpress.org/plugins/better-resource-hintsBetter Resource Hints will make your WordPress site or application faster and generally more performant by intelligently leveraging resource hints lik …
Is Better Resource Hints Safe to Use in 2026?
Generally Safe
Score 85/100Better Resource Hints has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "better-resource-hints" plugin v1.1.3 exhibits a generally strong security posture based on the provided static analysis. The absence of any identified AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the potential attack surface. Furthermore, the analysis indicates no dangerous functions, all SQL queries are properly prepared, and there are no recorded vulnerabilities or CVEs. This suggests a well-developed and conscientiously secured plugin.
However, a significant concern arises from the output escaping analysis, where only 3% of the 35 outputs are properly escaped. This indicates a substantial risk of Cross-Site Scripting (XSS) vulnerabilities, as unsanitized output can lead to malicious code injection. While taint analysis shows no issues, the lack of proper output escaping is a critical weakness that could be exploited if any user-supplied data or dynamic content is rendered without adequate sanitization. The absence of nonce and capability checks across the board, while not directly identified as exploitable due to the limited attack surface, represents a missed opportunity for robust security practices.
In conclusion, the plugin's minimal attack surface and clean vulnerability history are positive indicators. Nevertheless, the severe deficiency in output escaping presents a clear and present danger that overshadows these strengths. Addressing the output escaping issue should be the top priority to mitigate the risk of XSS attacks and improve the overall security of the plugin.
Key Concerns
- Low percentage of properly escaped output
Better Resource Hints Security Vulnerabilities
Better Resource Hints Code Analysis
Output Escaping
Better Resource Hints Attack Surface
WordPress Hooks 15
Maintenance & Trust
Better Resource Hints Maintenance & Trust
Maintenance Signals
Community Trust
Better Resource Hints Alternatives
LH HTTP/2 Server Push
lh-http2-server-push
Does HTTP/2 Server Push for JavaScript and CSS resources properly.
Image Preloading
image-preloading
Modern image preloading/prefetching plugin for WordPress to improve page loading performance.
Speculative Loading
speculation-rules
Enables browsers to speculatively prerender or prefetch pages to achieve near-instant loads based on user interaction.
Flying Pages: Preload Pages for Faster Navigation & Improved User Experience
flying-pages
Preload pages intelligently to boost site speed and enhance user experience by loading pages before users click, ensuring instant page transitions.
WP Performance Score Booster – Optimize Speed, Enable Cache & Page Preload
wp-performance-score-booster
Make website faster, speed up page load time and improve performance scores in tools like Google PageSpeed Insights, GTmetrix, Pingdom, and more.
Better Resource Hints Developer Profile
2 plugins · 300 total installs
How We Detect Better Resource Hints
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/better-resource-hints/src/assets/css/style.css/wp-content/plugins/better-resource-hints/src/assets/js/scripts.min.js/wp-content/plugins/better-resource-hints/src/assets/js/preload.min.js/wp-content/plugins/better-resource-hints/src/assets/js/scripts.min.js/wp-content/plugins/better-resource-hints/src/assets/js/preload.min.jsbetter-resource-hints/style.css?ver=scripts.min.js?ver=HTML / DOM Fingerprints
In the future, check if user would like to preload $specificHandlesToPreload's dependencies as well.In the future, check if user would like to preload $specificHandlesToPreload's dependencies as well.Only footer scripts!All scripts!+2 moreonload="this.onload=null;this.rel='stylesheet'"