CVE-2026-120486

Source
https://cve.org/CVERecord?id=CVE-2026-120486
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120486.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120486
Published
2026-11-21T07:45:24Z
Modified
2026-11-21T09:00:09Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
ShortPixel Image Optimizer <= 6.6.1 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter
Details

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 , 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.

Database specific
{
    "cna_assigner": "Wordfence",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120486.json"
}
References

Affected packages

Git / github.com/short-pixel-optimizer/shortpixel-image-optimiser

Affected ranges

Type
GIT
Repo
https://github.com/short-pixel-optimizer/shortpixel-image-optimiser
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "6.6.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "original_tag": "v6.6.2",
            "range": [
                {
                    "fixed": "e3bc3b2d194bb1ccfbf275c12945420200a771fb"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v4.*
v4.14.6
v4.15.0
v4.15.2
v4.15.3
v4.16.0
v4.16.1
v4.16.3
v4.16.4
v4.17.0
v4.17.1
v4.17.2
v4.17.3
v4.17.4
v4.18.0
v4.18.1
v4.19.0
v4.19.1
v4.19.2
v4.19.3
v4.20.0
v4.20.1
v4.20.2
v4.21.0
v4.21.1
v4.21.2
v4.22.0
v4.22.1
v4.22.10
v4.22.2
v4.22.3
v4.22.4
v4.22.5
v4.22.6
v4.22.7
v4.22.8
v4.22.9
v5.*
v5.0.0
v5.0.1
v5.0.2
v5.0.3
v5.0.4
v5.0.5
v5.0.6
v5.0.7
v5.0.8
v5.0.9
v5.1.0
v5.1.1
v5.1.2
v5.1.3
v5.1.4
v5.1.5
v5.1.6
v5.2.0
v5.2.1
v5.2.2
v5.2.3
v5.3.0
v5.4.0
v5.4.1
v5.4.2
v5.4.3
v5.5.0
v5.5.1
v5.5.2
v5.5.3
v5.5.4
v5.5.5
v5.6.0
v5.6.1
v5.6.2
v5.6.3
v5.6.4
v6.*
v6.0.0
v6.0.1
v6.0.2
v6.0.3
v6.0.4
v6.0.5
v6.1.0
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.2.0
v6.2.1
v6.2.2
v6.3.0
v6.3.1
v6.3.2
v6.3.3
v6.3.4
v6.3.5
v6.4.0
v6.4.1
v6.4.2
v6.4.3
v6.4.4
v6.5.0
v6.5.1
v6.5.2
v6.5.3
v6.5.4
v6.5.5
v6.5.6
v6.6.0
v6.6.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120486.json"