Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-5821— Image Optimizer <= 1.7.4 - Authenticated (Author+) Arbitrary File Deletion via Post Meta Field Injection

Quick assessment

Affected
elemntor Image Optimizer – Optimize Images and Convert to WebP or AVIF
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Elementor Image Optimizer – Optimize Images and Convert to WebP or AVIF是以色列Elementor公司的一款WordPress图像优化插件。 Elementor Image Optimizer – Optimize Images and Convert to WebP or AVIF 1.7.4及之前版本存在输入验证错误漏洞,该漏洞源于Image_Backup::remove()函数中路径验证不足,备份文件路径存储在post meta中

CVSS 8.1 · High EPSS 0.66% · P49

Possible ATT&CK Techniques 1 AI

T1565.001 · Stored Data Manipulation

Affected Version Matrix 1

VendorProduct Version RangeStatus
elemntor Image Optimizer – Optimize Images and Convert to WebP or AVIF ≤ 1.7.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5821

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Image Optimizer <= 1.7.4 - Authenticated (Author+) Arbitrary File Deletion via Post Meta Field Injection
Source: CVE Program / CVE List V5
Vulnerability Description
The Image Optimizer plugin for WordPress is vulnerable to arbitrary file deletion in versions up to and including 1.7.4. This is due to insufficient path validation in the Image_Backup::remove() function where backup file paths stored in post meta are used directly in file deletion operations without verifying they are within the uploads directory. The plugin stores backup file paths in the image_optimizer_metadata post meta field and trusts these paths completely when deleting backups on the delete_attachment hook. An authenticated attacker with Author-level access can edit the image_optimizer_metadata post meta on their own attachments via WordPress's Custom Fields interface, injecting arbitrary absolute file paths into the backups array. When the attacker subsequently deletes the attachment, the plugin calls File_System::delete() on each path without validation. This makes it possible for authenticated attackers, with Author-level access and above, to delete arbitrary files on the server within the web server's filesystem permissions, potentially leading to denial of service, data loss, or security degradation.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5
Vulnerability Title
Elementor Image Optimizer – Optimize Images and Convert to WebP or AVIF 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Elementor Image Optimizer – Optimize Images and Convert to WebP or AVIF是以色列Elementor公司的一款WordPress图像优化插件。 Elementor Image Optimizer – Optimize Images and Convert to WebP or AVIF 1.7.4及之前版本存在输入验证错误漏洞,该漏洞源于Image_Backup::remove()函数中路径验证不足,备份文件路径存储在post meta中
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
elemntor Image Optimizer – Optimize Images and Convert to WebP or AVIF 0 ~ 1.7.4 -

II. Public POCs for CVE-2026-5821

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5821

登录查看更多情报信息。

Patches & Fixes for CVE-2026-5821 (4)

Vendor Advisories for CVE-2026-5821 (1)

Vendor Pages for CVE-2026-5821 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-5821

No comments yet


Leave a comment