Improper Input Validation Affecting @vendure/core package, versions <2.1.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-VENDURECORE-6069801
  • published 19 Nov 2023
  • disclosed 17 Nov 2023
  • credit seminarian

Introduced: 17 Nov 2023

CVE NOT AVAILABLE CWE-20 Open this link in a new tab

How to fix?

Upgrade @vendure/core to version 2.1.3 or higher.

Overview

@vendure/core is an A modern, headless ecommerce framework

Affected versions of this package are vulnerable to Improper Input Validation through the currencyCode handling process. An attacker can manipulate payment currency by injecting arbitrary currencyCode as a query parameter to an API call.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None