Security readout for executives and security teams
Plain-English summary
Autoptimize for WordPress has a stored XSS issue through version 3.1.14. A logged-in user with Contributor-level access or higher could save script content that runs when someone views the affected page, if image optimization or lazy-load images is enabled. The risk is meaningful for sites with many content contributors.
Executive priority
Prioritize remediation for public, multi-author WordPress sites and sites with untrusted contributors. Single-admin sites have lower practical exposure, but updating remains recommended because stored XSS can affect administrators and visitors once planted.
Technical view
CVE-2026-2352 is CWE-79 stored cross-site scripting in Autoptimize. The reported cause is insufficient sanitization in ao_metabox_save() and missing escaping when ao_post_preload is rendered into a link tag in autoptimizeImages.php. It requires authenticated Contributor+ access and specific plugin image settings. CVSS is 6.4.
Likely exposure
WordPress sites running Autoptimize up to and including 3.1.14 are potentially exposed when “Image optimization” or “Lazy-load images” is enabled and Contributor-level users can create or edit posts.
Exploitation context
No active exploitation is indicated in the provided sources, and the CVE is not listed as KEV. Exploitation requires an authenticated WordPress account with Contributor privileges or higher, reducing internet-wide unauthenticated risk but increasing concern on multi-author sites.
Researcher notes
The public references identify the vulnerable save path and render path, plus a GitHub commit and WordPress changeset associated with code changes. The provided data does not include a public exploit or KEV listing. Avoid assuming broader plugin settings or unauthenticated impact.
Mitigation direction
- Update Autoptimize to a vendor release newer than 3.1.14 if available.
- Review the referenced vendor commit and WordPress plugin guidance for the fixed release.
- Temporarily disable image optimization or lazy-load images if immediate updating is not possible.
- Restrict Contributor-level access to trusted users until remediation is complete.
- Review suspicious post metadata after patching, especially ao_post_preload values.
Validation and detection
- Inventory WordPress sites using Autoptimize and record plugin versions.
- Confirm whether Autoptimize version is 3.1.14 or older.
- Check whether image optimization or lazy-load images is enabled.
- Review Contributor, Author, Editor, and Administrator accounts for unnecessary access.
- Inspect affected posts for unexpected ao_post_preload metadata or unusual rendered link attributes.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2026-2352 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.4 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N3.12.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.4MediumVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5f3f9891-710e-49e4-b388-aa6d99c01840?source=cveCVE reference
- https://plugins.trac.wordpress.org/browser/autoptimize/tags/3.1.14/classes/autoptimizeMetabox.php#L276CVE reference
- https://plugins.trac.wordpress.org/browser/autoptimize/tags/3.1.14/classes/autoptimizeImages.php#L804CVE reference
- https://plugins.trac.wordpress.org/browser/autoptimize/trunk/classes/autoptimizeMetabox.php#L276CVE reference
- https://plugins.trac.wordpress.org/browser/autoptimize/trunk/classes/autoptimizeImages.php#L804CVE reference
- https://github.com/futtta/autoptimize/commit/60d1e487e536a97ae317784f8aeaf0d2e93cd717CVE reference
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3482530%40autoptimize&new=3482530%40autoptimize&sfp_email=&sfph_mail=CVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
