ShortPixel Image Optimizer <= 6.6.1 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter
Summary
| CVE | CVE-2026-120486 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-21 08:16:38 UTC |
| Updated | 2026-11-21 08:16:38 UTC |
| Description | The ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 6.6.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the administrator to have enabled the 'Deliver WebP/AVIF images using the ShortPixel CDN' (useCDN) option, after which any unauthenticated visitor can submit a comment containing a crafted url() payload inside an allowed HTML construct such as <acronym title="...">, which WordPress comment kses preserves on save; the dangerous attribute-boundary breakout occurs only at render time inside the ob_start output-buffer rewriter, where kses does not apply. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.003890000 probability, percentile 0.337580000 (date 2026-11-21)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Shortpixel | ShortPixel Image Optimizer Optimize Images Convert WebP AVIF | affected 6.6.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controlle... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controlle... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controlle... | [email protected] | plugins.trac.wordpress.org | |
| github.com/short-pixel-optimizer/shortpixel-image-optimiser/releases/tag... | [email protected] | github.com | |
| plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controlle... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/f3c94064-3b2f-400e-8dc3-c7802... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controlle... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: theviper17y (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-02T14:23:46.000Z | Vendor Notified |
| CNA | 2026-11-20T19:44:01.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.