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
Threat Intelligence
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
Introduced: 3 Nov 2022
CVE-2022-39382 Open this link in a new tabHow 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.