{"id":"EUVD-2025-23570","enisaUuid":"7155ef2e-bfbc-3297-a0a1-a8b5ee814387","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.","datePublished":"Aug 5, 2025, 12:10:26 AM","dateUpdated":"Aug 5, 2025, 2:11:59 PM","baseScore":6.9,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr\nhttps://github.com/unjs/ipx/commit/81693ddbfc062cc922e4e2406e8427ab4e3ad214\nhttps://github.com/unjs/ipx/releases/tag/v1.3.2\nhttps://github.com/unjs/ipx/releases/tag/v2.1.1\nhttps://github.com/unjs/ipx/releases/tag/v3.1.1\n","aliases":"CVE-2025-54387\nGHSA-mm3p-j368-7jcr\n","assigner":"GitHub_M","epss":0.79,"enisaIdProduct":[{"id":"16d5fd65-27df-3c1f-b817-b2c1e3d289d7","product":{"name":"ipx","vendor":{"name":"unjs"}},"product_version":"3.0.0, \u003c 3.1.1"},{"id":"c9e24ccd-78c9-3f09-9f6e-0f1b19c8a6d0","product":{"name":"ipx","vendor":{"name":"unjs"}},"product_version":"2.0.0-0, \u003c 2.1.1"},{"id":"e781af51-b3b7-326d-9380-ea23681f2c69","product":{"name":"ipx","vendor":{"name":"unjs"}},"product_version":"\u003c 1.3.2"}],"enisaIdVendor":[{"id":"0a2942fb-2879-3dab-b8b0-83bc8c6dfd9a","vendor":{"name":"unjs"}}],"enisaIdVulnerability":[{"id":"e0a2e517-30dc-361a-8ce4-9045f172cf43","vulnerability":{"id":"GHSA-mm3p-j368-7jcr","description":"IPX Allows Path Traversal via Prefix Matching Bypass","datePublished":"Aug 4, 2025, 2:48:25 PM","dateUpdated":"Aug 5, 2025, 5:10:13 PM","baseScore":0.0,"references":"https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-54387\nhttps://github.com/unjs/ipx/commit/81693ddbfc062cc922e4e2406e8427ab4e3ad214\nhttps://github.com/unjs/ipx\nhttps://github.com/unjs/ipx/releases/tag/v1.3.2\nhttps://github.com/unjs/ipx/releases/tag/v2.1.1\nhttps://github.com/unjs/ipx/releases/tag/v3.1.1\n","enisa_id":"EUVD-2025-23570\n","aliases":"GHSA-mm3p-j368-7jcr\nCVE-2025-54387\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:44:06 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"f074c101-802c-35d0-a5ca-43bcdefff700","vulnerability":{"id":"CVE-2025-54387","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.","datePublished":"Aug 5, 2025, 12:10:26 AM","dateUpdated":"Aug 5, 2025, 2:11:59 PM","status":"PUBLISHED","baseScore":6.9,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr\nhttps://github.com/unjs/ipx/commit/81693ddbfc062cc922e4e2406e8427ab4e3ad214\nhttps://github.com/unjs/ipx/releases/tag/v1.3.2\nhttps://github.com/unjs/ipx/releases/tag/v2.1.1\nhttps://github.com/unjs/ipx/releases/tag/v3.1.1\n","enisa_id":"EUVD-2025-23570\n","assigner":"GitHub_M","epss":0.79,"dataProcessed":"Nov 15, 2026, 7:17:17 AM","vulnerabilityProduct":[{"id":"271cc0d5-eae5-328c-9800-bb3df8e083fe","product":{"name":"ipx","vendor":{"name":"unjs"}},"product_version":"3.0.0, \u003c 3.1.1"},{"id":"8c950208-08b2-3701-890e-42dea8c97c96","product":{"name":"ipx","vendor":{"name":"unjs"}},"product_version":"\u003c 1.3.2"},{"id":"e0ceec9d-9d9f-3130-aa68-108440df8991","product":{"name":"ipx","vendor":{"name":"unjs"}},"product_version":"2.0.0-0, \u003c 2.1.1"}],"vulnerabilityVendor":[{"id":"f389da43-51dc-3441-ae22-269f65e8ed0c","vendor":{"name":"unjs"}}]}}],"enisaIdAdvisory":[]}