# CVE-2023-46495: EverShop reflected XSS in sortBy parameter

Source: https://junglewise.ai/threats/cve-2023-46495-evershop-reflected-xss-in-sortby-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-12-08. Updated: 2026-05-14  
License: CC BY 4.0 with a link back

CVE-2023-46495 · Severity: low · CVSS 3.1 · Published 2023-12-08

EverShop is an e-commerce platform used to build online stores. A security flaw in how the platform handles product sorting requests allows attackers to inject malicious scripts into the web pages seen by other users. If a victim clicks a specially crafted link, an attacker could potentially steal sensitive session information or perform actions on the user's behalf.

Technologies: [EverShop](https://junglewise.ai/threats/technologies/evershop), [@evershop/evershop (npm)](https://junglewise.ai/threats/technologies/evershop-evershop). Vendors: [EverShop](https://junglewise.ai/threats/vendors/evershop), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

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

**How severe is CVE-2023-46495?** Low severity, with a CVSS score of 3.1, published 8 December 2023.

**Which products and versions are affected?** EverShop < 1.0.0-rc.8; @evershop/evershop (npm) SEMVER:introduced=0,fixed=1.0.0-rc.8.

**Is there a fix for CVE-2023-46495?** Yes. @evershop/evershop (npm): upgrade to 1.0.0-rc.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-46495 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2023-46495?** Check whether you run EverShop or @evershop/evershop (npm) 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

- @evershop/evershop (npm): upgrade to 1.0.0-rc.8 or later

  ```sh
  npm install @evershop/evershop@1.0.0-rc.8
  ```


## Technical details

A reflected Cross-Site Scripting (XSS) vulnerability exists in EverShop versions prior to 1.0.0-rc.8. The vulnerability is located in the handling of the 'sortBy' parameter. By providing a second 'sortBy' parameter in a crafted HTTP request, an attacker can bypass existing input validation, causing the application to reflect the unsanitized second value back into the page's HTML. This can be exploited by a remote, unauthenticated attacker to execute arbitrary JavaScript in the context of a user's browser session, provided the user interacts with a malicious link. The issue is addressed in version 1.0.0-rc.8.

## Affected products

- EverShop evershop < 1.0.0-rc.8

## Identifiers

- CVE-2023-46495
- GHSA-2xcj-557c-hf8r

## Timeline

- 2023-09-26: patched: Fix merged in pull request 338
- 2023-12-08: disclosed: NVD publication date
- 2023-12-08: advisory: GitHub Advisory published

## References

- [https://github.com/evershopcommerce/evershop/pull/338](https://github.com/evershopcommerce/evershop/pull/338)
- [https://devhub.checkmarx.com/cve-details/CVE-2023-46495](https://devhub.checkmarx.com/cve-details/CVE-2023-46495)
- [https://devhub.checkmarx.com/cve-details/Cxbc6d4599-c1bd](https://devhub.checkmarx.com/cve-details/Cxbc6d4599-c1bd)
- [https://github.com/evershopcommerce/evershop](https://github.com/evershopcommerce/evershop)

## Related threats

- [EverShop missing authorization in customer address API](https://junglewise.ai/threats/cve-2026-115323-evershop-1-2-2-before-2-2-1-contains-a-missing-authorization)
- [EverShop customer update authentication bypass](https://junglewise.ai/threats/cve-2026-72843-evershop-customer-update-authentication-bypass)
- [EverShop server-side request forgery in images API](https://junglewise.ai/threats/cve-2025-67427-evershop-server-side-request-forgery-in-images-api)
- [EverShop denial of service in image processing API](https://junglewise.ai/threats/cve-2025-67419-evershop-denial-of-service-in-image-processing-api)
- [EverShop 2.0.1 allows a remote unauthenticated attacker to upload arbitrary files and create directories via the…](https://junglewise.ai/threats/cve-2025-65844-evershop-2-0-1-allows-a-remote-unauthenticated-attacker-to-upload)
