CVE Explorer
CVE-2026-4335
The ShortPixel Image Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the attachment post_title in all versions up to, and including, 6.4.3. This is due to insufficient output escaping in the getEditorPopup() function and its corresponding media-popup.php template. Specifically, the attachment's post_title is retrieved from the database via get_post() in AjaxController.php (line 435) and passed directly to the view template (line 449), where it is rendered into an
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF","vendor":"shortpixel","versions":[{"lessThanOrEqual":"6.4.3","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":5.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/problemTypes/0/descriptions/0
Source references
6 source assertions{"url":"https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.3/class/Controller/AjaxController.php#L449"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.3/class/view/snippets/media-popup.php#L139"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/trunk/class/Controller/AjaxController.php#L449"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/trunk/class/view/snippets/media-popup.php#L139"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3490270%40shortpixel-image-optimiser&new=3490270%40shortpixel-image-optimiser&sfp_email=&sfph_mail="}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/references/5
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/a156234f-2644-4d17-aaa5-4f088cf48f73?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2a80558b904715d324ddf816eef9e53b7030b65374e4489ae4506dd71ddf615e · sha256:cc571b690f9c4c41… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.