CVE-2026-120486
Deferred Deferred - Pending Action

Stored XSS in ShortPixel Image Optimizer WordPress Plugin

Vulnerability report for CVE-2026-120486, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
shortpixel ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF From 0 (inc) to 6.6.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Stored Cross-Site Scripting (XSS) flaw in the ShortPixel Image Optimizer WordPress plugin. It allows unauthenticated attackers to inject malicious scripts via the 'comment' parameter due to insufficient input sanitization and output escaping. The attack requires the administrator to have enabled the 'Deliver WebP/AVIF images using the ShortPixel CDN' option. Attackers can submit a comment with a crafted payload that executes when a user views the infected page.

Detection Guidance

Check for suspicious comments containing unusual URLs or HTML payloads in WordPress comment sections. Inspect pages using the ShortPixel CDN feature for unexpected script execution. Review server logs for unauthorized access attempts or unusual activity related to the plugin.

Impact Analysis

This vulnerability allows attackers to inject malicious scripts into your WordPress site. If exploited, it could lead to unauthorized actions on behalf of users, theft of sensitive data like cookies or session tokens, or defacement of your website. Visitors to your site could have their browsers compromised, potentially spreading malware or stealing personal information.

Compliance Impact

This vulnerability could lead to data breaches, which may violate GDPR and HIPAA requirements for protecting user data. If exploited, it could result in unauthorized access to personal or health information, leading to legal penalties, fines, and reputational damage for organizations handling such data.

Mitigation Strategies

Update the ShortPixel Image Optimizer plugin to version 6.6.2 or later immediately. Disable the 'Deliver WebP/AVIF images using the ShortPixel CDN' option if enabled. Review and remove any suspicious comments containing scripts or unusual URLs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120486. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...