Autoptimize
Slug: autoptimize · Optimizing Matters · 900,000+
Overall Score
Good overall quality
What this score means
Scores are calculated on a 100-point scale by analysing six weighted categories: Security, WP.org Readiness, Performance, Code Quality, Accessibility, and Vulnerabilities. Open vulnerabilities are weighted by severity, CVSS, and patch availability, and incomplete source data can reduce confidence slightly.
-
Excellent The plugin follows best practices across every measured category. It is well-maintained, low-risk, and recommended for production use.
-
Good Strong overall quality with minor areas for improvement. Generally safe to use on most sites.
-
Needs Review Some areas of concern detected. Review the full issues report and weigh the risks before installing on production.
-
High Risk Significant quality or security problems found. Exercise caution — check the details carefully before using this plugin.
High confidence (100/100) based on metadata completeness and vulnerability evidence quality.
Open vulnerabilities are weighted by severity, CVSS, and patch availability, then adjusted slightly when the source data is incomplete.
- Wordfence: June 28, 2026 6:47 pm (25 minutes ago)
AI-Generated Summary
Autoptimize currently scores 87/100 (good). Latest scan findings include 0 errors and 13 warnings.
Strengths
- Overall score is in a strong range for production use.
- No open vulnerabilities are currently recorded in tracked sources.
Risks
- Tested-up-to metadata is behind the current WordPress version.
Recommended Next Actions
- Address warning-level findings to improve maintainability and reduce future risk.
- Validate compatibility against the latest WordPress core and refresh tested-up-to metadata.
Generated from latest scan and metadata signals. Validate in staging before production changes.
Score Breakdown
Why this score?
Top deductions are based on 1 affected rules, reducing this category by 40 total points.
| Rule | Hits | Impact | Share |
|---|---|---|---|
| Security issue: Warning | 10 | -40 | 100% |
Why this score?
Top deductions are based on 2 affected rules, reducing this category by 4 total points.
| Rule | Hits | Impact | Share |
|---|---|---|---|
| Tested up to version is behind current WordPress | 1 | -3 | 75% |
| Repo issue: Notice | 1 | -1 | 25% |
Why this score?
Top deductions are based on 0 affected rules, reducing this category by 0 total points.
No deductions were applied for this category in the latest score run.
Why this score?
Top deductions are based on 1 affected rules, reducing this category by 1 total points.
| Rule | Hits | Impact | Share |
|---|---|---|---|
| Code Quality issue: Notice | 1 | -1 | 100% |
Why this score?
Top deductions are based on 1 affected rules, reducing this category by 6 total points.
| Rule | Hits | Impact | Share |
|---|---|---|---|
| Accessibility issue: Warning | 3 | -6 | 100% |
Why this score?
Top deductions are based on 0 affected rules, reducing this category by 0 total points.
No deductions were applied for this category in the latest score run.
Plugin Details
- Version: 3.1.15.1
- Active Installs: 900,000+
- Last Updated: 2026-04-04 07:44:00
- Tested up to: 6.9.4
- Requires PHP: 7.1
- Rating: 4.7/5 (1,425 ratings)
- Support: 7/14 resolved (50%)
- View on WordPress.org
- Download Plugin
Scan Summary
- Errors: 0
- Warnings: 13
- Notices: 2
- Last Scanned: 2026-05-22 21:16:43
- Score confidence: 100/100
What Changed Since Last Scan
New Issues
No items in this category.
Resolved Issues
No items in this category.
Worsened Issues
No items in this category.
Detected Issues
| Severity | Category | Message | File | Fix Guidance |
|---|---|---|---|---|
| WARNING | SECURITY | Declared minimum PHP 7.1 is end-of-life and no longer receives security updates. |
Quick
Increase minimum PHP version to a currently supported branch.
Moderate
Audit dependencies and code for compatibility with modern PHP runtime behavior.
Advanced
Track upstream PHP lifecycle changes and schedule proactive baseline upgrades.
|
|
| NOTICE | REPO | Main plugin file does not declare a Domain Path header. | autoptimize.php |
Quick
Add a Domain Path header if language files are stored in a languages directory.
Moderate
Apply the same remediation pattern across repo findings and re-scan to confirm notice issues drop.
Advanced
Add automated linting, CI checks, and team review guidance so this issue class is prevented in future releases.
|
| WARNING | SECURITY | Raw superglobal access detected. | autoptimize.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| WARNING | SECURITY | Use of base64_decode() detected. | classes/autoptimizeBase.php |
Quick
Ensure any encoded payloads are necessary, documented, and never used to obscure executable logic.
Moderate
Apply the same remediation pattern across security findings and re-scan to confirm warning issues drop.
Advanced
Add automated linting, CI checks, and team review guidance so this issue class is prevented in future releases.
|
| WARNING | SECURITY | Raw superglobal access detected. | classes/autoptimizeMain.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| NOTICE | CODE_QUALITY | Short PHP opening tags or inline template tags may reduce compatibility across environments. | classes/autoptimizeMain.php |
Quick
Prefer full <?php opening tags for maximum portability.
Moderate
Apply the same remediation pattern across code quality findings and re-scan to confirm notice issues drop.
Advanced
Add automated linting, CI checks, and team review guidance so this issue class is prevented in future releases.
|
| WARNING | SECURITY | Raw superglobal access detected. | classes/autoptimizeOptionWrapper.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| WARNING | ACCESSIBILITY | Image markup without an alt attribute detected. | classes/autoptimizePartners.php |
Quick
Add alt attributes to the flagged image tags, or alt="" for decorative images.
Moderate
Audit all templates/components for missing alternative text and update content guidelines.
Advanced
Integrate accessibility testing in CI (axe/pa11y) and block releases with critical a11y violations.
|
| WARNING | SECURITY | Raw superglobal access detected. | classes/autoptimizeConfig.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| WARNING | ACCESSIBILITY | Image markup without an alt attribute detected. | classes/autoptimizeConfig.php |
Quick
Add alt attributes to the flagged image tags, or alt="" for decorative images.
Moderate
Audit all templates/components for missing alternative text and update content guidelines.
Advanced
Integrate accessibility testing in CI (axe/pa11y) and block releases with critical a11y violations.
|
| WARNING | SECURITY | Raw superglobal access detected. | classes/autoptimizeCriticalCSSSettingsAjax.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| WARNING | SECURITY | Raw superglobal access detected. | classes/autoptimizeImages.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| WARNING | ACCESSIBILITY | Image markup without an alt attribute detected. | classes/autoptimizeImages.php |
Quick
Add alt attributes to the flagged image tags, or alt="" for decorative images.
Moderate
Audit all templates/components for missing alternative text and update content guidelines.
Advanced
Integrate accessibility testing in CI (axe/pa11y) and block releases with critical a11y violations.
|
| WARNING | SECURITY | Raw superglobal access detected. | classes/autoptimizeMetabox.php |
Quick
Wrap direct request values with sanitization and nonce verification in the affected code path.
Moderate
Centralize request normalization in helper methods so handlers consume validated input only.
Advanced
Adopt typed request DTOs and automated security lint checks for unsanitized superglobal access.
|
| WARNING | SECURITY | Direct database query detected without an immediately visible $wpdb->prepare() wrapper. | classes/critcss-inc/admin_settings_debug.php |
Quick
Wrap dynamic SQL arguments with $wpdb->prepare() in the flagged query.
Moderate
Refactor repeated SQL into repository/helper methods that enforce prepared statements by default.
Advanced
Add integration tests and static checks that fail builds when direct dynamic SQL is introduced.
|
Score History
No history available yet. · All-Time High: N/A
All Past Vulnerabilities
Showing all known historical vulnerabilities for this plugin, including open and closed records.