CSS Optimizer – Remove Unused CSS Security & Risk Analysis

wordpress.org/plugins/css-optimizer-remove-unused-css

Clean up and remove unused CSS from your website. Also generates Critical CSS to improve PageSpeed Score.

100 active installs v1.7 PHP 5.1+ WP 4.7+ Updated Mar 16, 2022
autoptimizecritical-csscssspeed
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is CSS Optimizer – Remove Unused CSS Safe to Use in 2026?

Generally Safe

Score 85/100

CSS Optimizer – Remove Unused CSS has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The 'css-optimizer-remove-unused-css' plugin version 1.7 demonstrates a generally strong security posture based on the provided static analysis. The complete absence of known vulnerabilities in its history, coupled with the fact that all SQL queries utilize prepared statements and there are no critical or high severity taint flows, are highly positive indicators. The plugin also refrains from using dangerous functions and does not bundle external libraries, further reducing its attack surface.

However, there are areas for concern that prevent a perfect score. The lack of any nonce checks or capability checks on entry points, including cron events, is a significant weakness. While the static analysis reported zero direct entry points that are unprotected, the absence of these essential security mechanisms means that if any functionality were to be exposed, it could be exploited without proper authorization. Furthermore, a notable portion of output escaping is not properly implemented (22% of 27 outputs), which could lead to cross-site scripting vulnerabilities if dynamic content is displayed without sufficient sanitization.

In conclusion, the plugin benefits from a clean vulnerability history and sound database practices. Nevertheless, the identified weaknesses in authentication/authorization controls for its entry points and the inconsistent output escaping represent real security risks that should be addressed to improve its overall security posture.

Key Concerns

  • Lack of Nonce Checks
  • Lack of Capability Checks
  • Improper Output Escaping (22%)
Vulnerabilities
None known

CSS Optimizer – Remove Unused CSS Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

CSS Optimizer – Remove Unused CSS Release Timeline

v1.7Current
v1.6
v1.5
v1.4
v1.3
v1.2
v1.0
Code Analysis
Analyzed Mar 16, 2026

CSS Optimizer – Remove Unused CSS Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
6
21 escaped
Nonce Checks
0
Capability Checks
0
File Operations
32
External Requests
10
Bundled Libraries
0

Output Escaping

78% escaped27 total outputs
Attack Surface

CSS Optimizer – Remove Unused CSS Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 16
actioncssoptimizer_default_optionscss_optimizer.php:729
actionadmin_enqueue_scriptscss_optimizer.php:730
actionnetwork_admin_menucss_optimizer.php:733
actionadmin_menucss_optimizer.php:736
actionadmin_initcss_optimizer.php:737
actionadmin_noticescss_optimizer.php:738
filterplugin_action_linkscss_optimizer.php:739
filtercron_schedulescss_optimizer.php:1008
actioncssoptimizer_purge_queuecss_optimizer.php:1021
actioncssop_filter_job_queue_jobcss_optimizer.php:1027
actiontemplate_redirectcss_optimizer.php:1726
actionplugins_loadedcss_optimizer.php:1734
filterautoptimize_html_after_minifycss_optimizer.php:1763
filterrocket_buffercss_optimizer.php:1767
filterwpfc_buffer_callback_filtercss_optimizer.php:1769
filterw3tc_minify_processedcss_optimizer.php:1771

Scheduled Events 2

cssoptimizer_purge_queue
cssop_filter_job_queue_job
Maintenance & Trust

CSS Optimizer – Remove Unused CSS Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedMar 16, 2022
PHP min version5.1
Downloads11K

Community Trust

Rating74/100
Number of ratings6
Active installs100
Developer Profile

CSS Optimizer – Remove Unused CSS Developer Profile

wooncherk

1 plugin · 100 total installs

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

How We Detect CSS Optimizer – Remove Unused CSS

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/css-optimizer-remove-unused-css/css/css_optimizer.css

HTML / DOM Fingerprints

CSS Classes
cssop-maincssoptimizer_options
Data Attributes
data-cssoptimizer-job-queue
JS Globals
cssoptimizer_admin_ajax_url
FAQ

Frequently Asked Questions about CSS Optimizer – Remove Unused CSS