GHSA-mm7h-323r-9p4g
GitHub Security Advisory
Downloads Resources over HTTP in imageoptim
✓ GitHub Reviewed
HIGH
Has CVE
Advisory Details
imageoptim is a Node.js wrapper for some images compression algorithms.
imageoptim downloads zipped resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested tarball with an attacker controlled tarball if the attacker is on the network or positioned in between the user and the remote server.
## Recommendation
No fix is currently available for this vulnerability.
It is our recommendation to not install or use this module at this time.
Affected Packages
npm
imageoptim
Affected versions:
0
(last affected: 0.5.0)
Related CVEs
Key Information
7.5
/10
Dataset
Last updated: July 4, 2025 6:27 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.