Npm vulnerabilities

39 vulnerabilities

Known vulnerabilities in Npm products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 16 products.

Products

16
RoutineCVE-2026-0775chainguard · actions-runner +34 morenpm cli Incorrect Permission Assignment Local Privilege Escalation VulnerabilityThis vulnerability allows local attackers to escalate privileges on affected installations of npm cli. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of modules. The application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user. Was ZDI-CAN-25430.CVSS7.0HighEPSS0.29%PrioritiseCVE-2024-57190erxes +1 moreerxes erxesErxes <1.6.1 is vulnerable to Incorrect Access Control. An attacker can bypass authentication by providing a "User" HTTP header that contains any user, allowing them to talk to any GraphQL endpoint.CVSS9.8CriticalEPSS0.65%RoutineCVE-2024-57189erxes +1 moreerxes erxesIn Erxes <1.6.2, an authenticated attacker can write to arbitrary files on the system using a Path Traversal vulnerability in the importHistoriesCreate GraphQL mutation handler.CVSS5.4MediumEPSS0.40%RoutineCVE-2024-57186erxes +1 moreerxes erxesIn Erxes <1.6.2, an unauthenticated attacker can read arbitrary files from the system using a Path Traversal vulnerability in the /read-file endpoint handler.CVSS5.4MediumEPSS0.44%RoutineCVE-2024-34449b3log · vditor +1 moreb3log vditorVditor 3.10.3 allows XSS via an attribute of an A element. NOTE: the vendor indicates that a user is supposed to mitigate this via sanitize=true.CVSS6.1MediumEPSS0.36%RoutineCVE-2024-28863isaacs · node-tar +55 morenode-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validationnode-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders.CVSS6.5MediumEPSS0.93%PrioritiseCVE-2023-31999npm · @fastify/oauth2 +2 morenpm @fastify/oauth2All versions of @fastify/oauth2 used a statically generated state parameter at startup time and were used across all requests for all users. The purpose of the Oauth2 state parameter is to prevent Cross-Site-Request-Forgery attacks. As such, it should be unique per user and should be connected to the user's session in some way that will allow the server to validate it. v7.2.0 changes the default behavior to store the state in a cookie with the http-only and same-site=lax attributes set. The state is now by default generated for every user. Note that this contains a breaking change in the checkStateFunction function, which now accepts the full Request object.CVSS8.8HighEPSS0.70%RoutineCVE-2021-32860izimodal_project · izimodal +1 moreiziModal vulnerable to Cross-site ScriptingiziModal is a modal plugin with jQuery. Versions prior to 1.6.1 are vulnerable to cross-site scripting (XSS) when handling untrusted modal titles. An attacker who is able to influence the field `title` when creating a `iziModal` instance is able to supply arbitrary `html` or `javascript` code that will be rendered in the context of a user, potentially leading to `XSS`. Version 1.6.1 contains a patch for this issueCVSS6.1MediumEPSS0.60%RoutineCVE-2021-32855b3log · vditor +1 morevditor vulnerable to Cross-site ScriptingVditor is a browser-side Markdown editor. Versions prior to 3.8.7 are vulnerable to copy-paste cross-site scripting (XSS). For this particular type of XSS, the victim needs to be fooled into copying a malicious payload into the text editor. Version 3.8.7 contains a patch for this issue.CVSS6.1MediumEPSS0.60%RoutineCVE-2021-32854textangular +1 moretextAngular text editor vulnerable to Cross-site ScriptingtextAngular is a text editor for Angular.js. Version 1.5.16 and prior are vulnerable to copy-paste cross-site scripting (XSS). For this particular type of XSS, the victim needs to be fooled into copying a malicious payload into the text editor. There are no known patches.CVSS6.1MediumEPSS0.50%RoutineCVE-2021-32853erxes +1 moreErxes vulnerable to Cross-site ScriptingErxes, an experience operating system (XOS) with a set of plugins, is vulnerable to cross-site scripting in versions 0.22.3 and prior. This results in client-side code execution. The victim must follow a malicious link or be redirected there from malicious web site. There are no known patches.CVSS9.6CriticalEPSS3.26%RoutineCVE-2021-32851mind-elixir_project · mind-elixir +1 morejQuery MiniColors vulnerable to Cross-site ScriptingMind-elixir is a free, open source mind map core. Prior to version 0.18.1, mind-elixir is prone to cross-site scripting when handling untrusted menus. This issue is patched in version 0.18.1CVSS6.1MediumEPSS0.70%RoutineCVE-2021-32850npm · @claviska/jquery-minicolors +5 morejQuery MiniColors vulnerable to Cross-site ScriptingjQuery MiniColors is a color picker built on jQuery. Prior to version 2.3.6, jQuery MiniColors is prone to cross-site scripting when handling untrusted color names. This issue is patched in version 2.3.6.CVSS6.1MediumEPSS0.81%PrioritiseCVE-2022-29244netapp · ontap_select_deploy_administration_utility +4 morenpm packing does not respect root-level ignore files in workspacesnpm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=<name>`). Anyone who has run `npm pack` or `npm publish` inside a workspace, as of v7.9.0 and v7.13.0 respectively, may be affected and have published files into the npm registry they did not intend to include. Users should upgrade to the latest, patched version of npm v8.11.0, run: npm i -g npm@latest . Node.js versions v16.15.1, v17.19.1, and v18.3.0 include the patched v8.11.0 version of npm.CVSS7.5HighEPSS4.00%RoutineCVE-2022-0350vanessa219 · vanessa219/vditor +2 moreCross-site Scripting (XSS) - Stored in vanessa219/vditorCross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 3.8.13.CVSS6.1MediumEPSS0.55%RoutineCVE-2022-0341vanessa219 · vanessa219/vditor +2 moreCross-site Scripting (XSS) - Stored in vanessa219/vditorCross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 3.8.12.CVSS6.6MediumEPSS0.47%RoutineCVE-2021-4103vanessa219 · vanessa219/vditor +2 moreCross-site Scripting (XSS) - Stored in vanessa219/vditorCross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 1.0.34.CVSS6.8MediumEPSS0.69%PrioritiseCVE-2021-23518cached-path-relative_project · cached-path-relative +4 morePrototype PollutionThe package cached-path-relative before 1.1.0 are vulnerable to Prototype Pollution via the cache variable that is set as {} instead of Object.create(null) in the cachedPathRelative function, which allows access to the parent prototype properties when the object is used to create the cached relative path. When using the origin path as __proto__, the attribute of the object is accessed instead of a path. **Note:** This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-72573CVSS9.8CriticalEPSS2.01%RoutineCVE-2021-39135npm · arborist +7 moreUNIX Symbolic Link (Symlink) Following in @npmcli/arborist`@npmcli/arborist`, the library that calculates dependency trees and manages the node_modules folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will always be performed into the expected folder. This is accomplished by extracting package contents into a project's `node_modules` folder. If the `node_modules` folder of the root project or any of its dependencies is somehow replaced with a symbolic link, it could allow Arborist to write package dependencies to any arbitrary location on the file system. Note that symbolic links contained within package artifact contents are filtered out, so another means of creating a `node_modules` symbolic link would have to be employed. 1. A `preinstall` script could replace `node_modules` with a symlink. (This is prevented by using `--ignore-scripts`.) 2. An attacker could supply the target with a git repository, instructing them to run `npm install --ignore-scripts` in the root. This may be successful, because `npm install --ignore-scripts` is typically not capable of making changes outside of the project directory, so it may be deemed safe. This is patched in @npmcli/arborist 2.8.2 which is included in npm v7.20.7 and above. For more information including workarounds please see the referenced GHSA-gmw6-94gg-2rc2.CVSS8.2HighEPSS0.57%RoutineCVE-2021-39134npm · arborist +7 moreUNIX Symbolic Link (Symlink) Following in @npmcli/arborist`@npmcli/arborist`, the library that calculates dependency trees and manages the `node_modules` folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will always be performed into the expected folder. This is, in part, accomplished by resolving dependency specifiers defined in `package.json` manifests for dependencies with a specific name, and nesting folders to resolve conflicting dependencies. When multiple dependencies differ only in the case of their name, Arborist's internal data structure saw them as separate items that could coexist within the same level in the `node_modules` hierarchy. However, on case-insensitive file systems (such as macOS and Windows), this is not the case. Combined with a symlink dependency such as `file:/some/path`, this allowed an attacker to create a situation in which arbitrary contents could be written to any location on the filesystem. For example, a package `pwn-a` could define a dependency in their `package.json` file such as `"foo": "file:/some/path"`. Another package, `pwn-b` could define a dependency such as `FOO: "file:foo.tgz"`. On case-insensitive file systems, if `pwn-a` was installed, and then `pwn-b` was installed afterwards, the contents of `foo.tgz` would be written to `/some/path`, and any existing contents of `/some/path` would be removed. Anyone using npm v7.20.6 or earlier on a case-insensitive filesystem is potentially affected. This is patched in @npmcli/arborist 2.8.2 which is included in npm v7.20.7 and above.CVSS8.2HighEPSS0.59%