Administrator-context script execution via settings import
Published May 30, 2023 · Updated Jan 10, 2025
Cross-site scripting in Optimizing Matters Autoptimize before 3.1.7 allows remote authenticated users to run JavaScript in the admin panel. The Critical CSS settings importer accepts a crafted settings.json file inside a ZIP archive and stores an unescaped file value that renders as script. Administrator access to the importer is required, and the injected code runs in an administrator's browser even when unfiltered_html is disabled.
Summary
What happened
Cross-site scripting in Optimizing Matters Autoptimize before 3.1.7 allows remote authenticated users to run JavaScript in the admin panel. The Critical CSS settings importer accepts a crafted settings.json file inside a ZIP archive and stores an unescaped file value that renders as script. Administrator access to the importer is required, and the injected code runs in an administrator's browser even when unfiltered_html is disabled.
The record
- CVE
- CVE-2023-2113
- Published
- May 30, 2023
- Updated
- Jan 10, 2025
- Vendor
- Optimizing Matters
- Product
- Autoptimize
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- May 30, 2023CVE publishedPublication date reported by the CVE source.
- Jan 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <3.1.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan settings-import proof of conceptproof of concept · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo