CVE-2022-39239: nefly-ipx subject to Server-Side Request Forgery and Stored Cross-Site Scripting via Cache Poisoning and Improper Host Validation

Published Sep 23, 2022
·
Updated

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.

Affected Software

1 affected component
NuxtJS Netlify-ipx Node.js<1.2.3

Event History

Sep 23, 2022
CVE Published
via MITRE·07:55 AM
Data Sourced
via MITRE·07:55 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-39239?

CVE-2022-39239 has a high severity due to its potential for attackers to bypass security measures.

2

How do I fix CVE-2022-39239?

To fix CVE-2022-39239, upgrade netlify-ipx to version 1.2.3 or later.

3

What are the impacts of CVE-2022-39239?

The impacts of CVE-2022-39239 include the ability of attackers to load and return arbitrary images through specially crafted headers.

4

Which versions of netlify-ipx are affected by CVE-2022-39239?

Versions of netlify-ipx prior to 1.2.3 are affected by CVE-2022-39239.

5

How does CVE-2022-39239 allow attackers to bypass security?

CVE-2022-39239 allows attackers to bypass security by sending specially crafted headers that exploit the source image domain allowlist.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203