# CVE-2026-120486: ShortPixel Image Optimizer <= 6.6.1 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter

Status: published. Published: 2026-11-21. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- shortpixel / ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF: ≥ 0; ≤ 6.6.1 (affected, semver). Source: CNA: Wordfence

## Severity and prioritization

- CVSS 3.1: 5.4 (medium); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N; source: CNA: Wordfence

- CVSS 3.1: 5.4 (medium); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N; source: NVD: security@wordfence.com

- CISA KEV: No listing in collected sources

- EPSS: 0.39% as of 2026-11-23; percentile 33.75%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-79

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/f3c94064-3b2f-400e-8dc3-c78029e50142?source=cve (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L1002 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L752 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L508 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L104 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/FrontController.php#L38 (CNA: Wordfence)

- https://github.com/short-pixel-optimizer/shortpixel-image-optimiser/releases/tag/v6.6.2 (CNA: Wordfence)

- https://github.com/short-pixel-optimizer/shortpixel-image-optimiser/releases/tag/v6.6.2 (security@wordfence.com)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L1002 (security@wordfence.com)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L104 (security@wordfence.com)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L508 (security@wordfence.com)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L752 (security@wordfence.com)

- https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/FrontController.php#L38 (security@wordfence.com)

- https://www.wordfence.com/threat-intel/vulnerabilities/id/f3c94064-3b2f-400e-8dc3-c78029e50142?source=cve (security@wordfence.com)

## Provenance

- CNA: Wordfence: https://www.cve.org/CVERecord?id=CVE-2026-120486; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-120486; retrieved 2026-11-21; source updated 2026-11-21

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-120486; retrieved 2026-11-23; source updated Not reported

Revision: c849e5114f286372b4ddebc90b444882191fac9442e4fe677f7d3d25034b5c48

Canonical: https://y2.dev/cve/CVE-2026-120486

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.