# CVE-2023-1496: GO-2023-1651 - imgproxy Cross-site Scripting vulnerability in github.com/imgproxy/imgproxy

Source: https://junglewise.ai/threats/cve-2023-1496-imgproxy-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-20  
License: CC BY 4.0 with a link back

CVE-2023-1496 · Severity: low · CVSS 3.1 · Published 2024-08-20

imgproxy Cross-site Scripting vulnerability in github.com/imgproxy/imgproxy

Technologies: [github.com/imgproxy/imgproxy (Go)](https://junglewise.ai/threats/technologies/github-com-imgproxy-imgproxy), [github.com/imgproxy/imgproxy/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-imgproxy-imgproxy-v2), [github.com/imgproxy/imgproxy/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-imgproxy-imgproxy-v3). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-1496 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-1496 being exploited in the wild.

**How severe is CVE-2023-1496?** Low severity, with a CVSS score of 3.1, published 20 August 2024.

**Which products and versions are affected?** github.com/imgproxy/imgproxy (Go) SEMVER:introduced=0; github.com/imgproxy/imgproxy/v2 (Go) SEMVER:introduced=0; github.com/imgproxy/imgproxy/v3 (Go) SEMVER:introduced=0,fixed=3.14.0.

**Is there a fix for CVE-2023-1496?** Yes. github.com/imgproxy/imgproxy/v3 (Go): upgrade to 3.14.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-1496?** Check whether you run github.com/imgproxy/imgproxy (Go), github.com/imgproxy/imgproxy/v2 (Go) or github.com/imgproxy/imgproxy/v3 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/imgproxy/imgproxy/v3 (Go): upgrade to 3.14.0 or later

  ```sh
  go get github.com/imgproxy/imgproxy/v3@v3.14.0
  ```


## Affected products

- github.com/imgproxy/imgproxy (Go) SEMVER:introduced=0
- github.com/imgproxy/imgproxy/v2 (Go) SEMVER:introduced=0
- github.com/imgproxy/imgproxy/v3 (Go) SEMVER:introduced=0,fixed=3.14.0

## Identifiers

- CVE-2023-1496
- GHSA-ch9g-x9j7-rcgp
- GO-2023-1651

## Related threats

- [imgproxy unbounded memory allocation in ICO loader](https://junglewise.ai/threats/go-2026-6898-imgproxy-has-unbounded-memory-allocation-in-ico-loader-a99ea6ff)
- [imgproxy out-of-bounds heap read/write in ICO loader BMP header](https://junglewise.ai/threats/go-2026-6895-imgproxy-has-out-of-bounds-heap-read-write-in-ico-loader-d8e85817)
- [imgproxy integer overflow in ICO loader](https://junglewise.ai/threats/go-2026-6897-imgproxy-has-integer-overflow-in-imgproxy-ico-loader-that-dbf52154)
- [imgproxy integer overflow in ICO loader](https://junglewise.ai/threats/imgproxy-has-integer-overflow-in-imgproxy-ico-loader-that-causes-denial-19f131eb)
- [imgproxy out-of-bounds write in ICO loader BMP header](https://junglewise.ai/threats/imgproxy-has-out-of-bounds-heap-read-write-in-ico-loader-bmp-header-c4e077cd)
