cvedb.io
CVE-2025-54387
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2025-08-05T01:15:41.557 · Last modified 2026-06-17T09:39:59.710

Summary

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.

Affected products

unjs — ipx

Does this affect you?

Add your gear to cvedb and we'll alert you only when unjs ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.