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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-54387— IPX is Vulnerable to Path Traversal via Prefix Matching Bypass

Quick assessment

Affected
unjs ipx
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.

IPX是UnJS开源的一个图像优化器。 IPX 1.3.1及之前版本、2.0.0-0版本至2.1.0版本和3.0.0版本至3.1.0版本存在安全漏洞,该漏洞源于路径前缀检查不当,可能导致路径前缀绕过。

AI Predicted 7.5 Difficulty: Easy EPSS 0.67% · P49

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-54387

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
IPX is Vulnerable to Path Traversal via Prefix Matching Bypass
Source: CVE Program / CVE List V5
Vulnerability Description
IPX is an image optimizer powered by sharp and svgo. In versions 1.3.1 and below, 2.0.0-0 through 2.1.0, and 3.0.0 through 3.1.0, the approach used to check whether a path is within allowed directories is vulnerable to path prefix bypass when the allowed directories do not end with a path separator. This occurs because the check relies on a raw string prefix comparison. This is fixed in versions 1.3.2, 2.1.1 and 3.1.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
IPX 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
IPX是UnJS开源的一个图像优化器。 IPX 1.3.1及之前版本、2.0.0-0版本至2.1.0版本和3.0.0版本至3.1.0版本存在安全漏洞,该漏洞源于路径前缀检查不当,可能导致路径前缀绕过。
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
unjs ipx < 1.3.2 -

II. Public POCs for CVE-2025-54387

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-54387

登录查看更多情报信息。

Patches & Fixes for CVE-2025-54387 (1)

Vendor Advisories for CVE-2025-54387 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-54387

No comments yet


Leave a comment