Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting @keystone-6/core package, versions >=3.0.0 <3.0.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.24% (63rd percentile)

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-KEYSTONE6CORE-3099227
  • published 3 Nov 2022
  • disclosed 3 Nov 2022
  • credit Austin Burdine

How to fix?

Upgrade @keystone-6/core to version 3.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). This can occur when users are using NODE_ENV in their own code (not dependencies) to trigger security-sensitive functionality in a production build, causing NODE_ENV to be inlined to development for user code.

Workaround

Users who are unable to upgrade to the fixed version should remove any code that uses NODE_ENV in a way that may reasonably impact the application security.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

9.8 critical