{"cve":"CVE-2022-39239","nvd":{"published":"2022-09-23T08:15:09.087","modified":"2026-06-17T04:57:58.567","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79","CWE-918"],"references":["https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98","https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98"],"products":["nuxtjs:netlify-ipx"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-39239","score":0.00464,"percentile":0.4025,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9jjv-524m-jm98","url":"https://osv.dev/vulnerability/GHSA-9jjv-524m-jm98","summary":"@netlify/ipx vulnerable to Full Response SSRF and Stored XSS via Cache Poisoning and Improper Host Validation","modified":"2023-11-08T04:10:16.203096Z","packages":[{"ecosystem":"npm","name":"@netlify/ipx","purl":"pkg:npm/%40netlify/ipx","ranges":["<1.2.3"],"fixed":["1.2.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}