CVE-2022-39239Nuxtjs Netlify-ipx
Medium 5.4
Follow: this CVE · Nuxtjs · Nuxtjs Netlify-ipx We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 40
- Auth required
- Yes
- Published
- Sep 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
netlify-ipx is an on-Demand image optimization for Netlify using ipx. In versions prior to 1.2.3, an attacker can bypass the source image domain allowlist by sending specially crafted headers, causing the handler to load and return arbitrary images. Because the response is cached globally, this image will then be served to visitors without requiring those headers to be set. XSS can be achieved by requesting a malicious SVG with embedded scripts, which would then be served from the site domain. Note that this does not apply to images loaded in `<img>` tags, as scripts do not execute in this context. The image URL can be set in the header independently of the request URL, meaning any site images that have not previously been cached can have their cache poisoned. This problem has been fixed in version 1.2.3. As a workaround, cached content can be cleared by re-deploying the site.
What to do
- Apply the vendor's security update for Netlify-ipx.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @netlify/ipx |
< 1.2.3 |
1.2.3 |
npm install @netlify/ipx@1.2.3 |
Per OSV / GitHub Advisories (GHSA-9jjv-524m-jm98). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nuxtjs | netlify-ipx | < 1.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory