CVE-2022-39239
JavaScript vulnerability analysis and mitigation

Overview

netlify-ipx, an on-Demand image optimization tool for Netlify using ipx, was found to contain a security vulnerability in versions prior to 1.2.3. The vulnerability was discovered and disclosed on September 21, 2022, and was assigned CVE-2022-39239. The issue affects the source image domain validation functionality of the application (GitHub Advisory).

Technical details

The vulnerability stems from insufficient validation of source image domains. An attacker can bypass the source image domain allowlist by sending specially crafted headers, which causes the handler to load and return arbitrary images. The vulnerability is particularly concerning because the response is cached globally, meaning the compromised content will be served to visitors without requiring the malicious headers to be set again. The vulnerability has been assigned a CVSS score of 5.4 (CISA).

Impact

The vulnerability can lead to multiple security issues: Server-Side Request Forgery (SSRF) allowing loading of arbitrary images, cache poisoning of any site images that haven't been previously cached, and potential Cross-Site Scripting (XSS) through malicious SVG files with embedded scripts served from the site domain. However, the XSS impact is limited as scripts do not execute in the context of image tags (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.2.3 of netlify-ipx. Additionally, the issue is no longer exploitable on Netlify as the CDN now sanitizes the relevant header. As a temporary workaround, cached content can be cleared by re-deploying the site (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management