CVE-2022-39239

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nuxtjs:netlify-ipx:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 07:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.4
v2 : unknown
v3 : 6.1
References () https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98 - Third Party Advisory () https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98 - Third Party Advisory

Information

Published : 2022-09-23 08:15

Updated : 2024-11-21 07:17


NVD link : CVE-2022-39239

Mitre link : CVE-2022-39239

CVE.ORG link : CVE-2022-39239


JSON object : View

Products Affected

nuxtjs

  • netlify-ipx
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-918

Server-Side Request Forgery (SSRF)