
AWStats Script Security & Risk Analysis
wordpress.org/plugins/awstats-scriptAdds the HTML script tag and JS code that AWStats requires to enable collection of browser data like screen size and browser capabilities.
Is AWStats Script Safe to Use in 2026?
Generally Safe
Score 85/100AWStats Script has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The 'awstats-script' plugin v0.3 exhibits a generally strong security posture based on the static analysis and vulnerability history provided. The absence of known CVEs and a lack of critical or high-severity issues in its history are positive indicators. Furthermore, the plugin demonstrates good security practices by utilizing prepared statements for all SQL queries and including nonce and capability checks. The attack surface is reported as zero, with no AJAX handlers, REST API routes, shortcodes, or cron events, which significantly reduces potential entry points for attackers.
However, a significant concern arises from the output escaping analysis. With 100% of its 12 outputs not properly escaped, the plugin presents a substantial risk of Cross-Site Scripting (XSS) vulnerabilities. Any user-supplied data that is rendered on a page without proper sanitization could be exploited. While taint analysis showed no unsanitized paths, this is limited by the scope of the analysis and does not negate the direct finding of unescaped output.
In conclusion, while the plugin has a clean vulnerability history and good defensive coding practices in place for data handling and access control, the lack of output escaping is a critical weakness that needs immediate attention. This single oversight could undermine the otherwise robust security measures implemented. Addressing the unescaped output is paramount to mitigating the risk of XSS attacks.
Key Concerns
- Output not properly escaped
AWStats Script Security Vulnerabilities
AWStats Script Code Analysis
Output Escaping
Data Flow Analysis
AWStats Script Attack Surface
WordPress Hooks 3
Maintenance & Trust
AWStats Script Maintenance & Trust
Maintenance Signals
Community Trust
AWStats Script Developer Profile
2 plugins · 40 total installs
How We Detect AWStats Script
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/awstats-script/js/awstats_misc_tracker.jsHTML / DOM Fingerprints
<!-- AWStats Script tracking code -->awstatsmisctrackerurl