Vulnerabilities in pkg:npm/web3-core-method
PACKAGECVE-2025-57329 is a LOW web3-core-method is vulnerable to prototype vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Web3 core method libraries in the npm ecosystem. The issue involves web3-core-method is vulnerable to prototype pollution. Remediation is available in the latest vendor maintenance releases.
pkg:npm/web3-core-method
Vulnerability advisories affecting package pkg:npm/web3-core-method. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2j4c-9qqq-896r | CVE-2025-57329 | LOW | web3-core-method is vulnerable to prototype pollution |
CVE-2025-57329 at a Glance
How to Fix CVE-2025-57329
To remediate this vulnerability, upgrade all affected Web3 core method dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install web3-core-method@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls web3-core-method
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-57329, inspect your project dependencies using npm:
npm ls web3-core-method
Analyze the terminal output to locate any version of Web3 core method in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls web3-core-method command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Web3 core method, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-57329 Affected Web3 core method Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
web3-core-method
|
npm |
≤ 1.10.3
|
|
References
Frequently Asked Questions
What is CVE-2025-57329?
Which Web3 core method versions are affected?
What version fixes CVE-2025-57329?
Is web3-core-method affected?
What CWE is associated with CVE-2025-57329?
How can I check npm dependencies for CVE-2025-57329?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2j4c-9qqq-896r",
"modified" : "2025-09-26T12:55:46Z",
"published" : "2025-09-24T21:30:37Z",
"aliases" : [ "CVE-2025-57329" ],
"summary" : "web3-core-method is vulnerable to prototype pollution",
"details" : "web3-core-method is a package designed to creates the methods on the web3 modules. A Prototype Pollution vulnerability in the attachToObject function of web3-core-method version 1.10.4 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "web3-core-method"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.10.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-57329"
}, {
"type" : "WEB",
"url" : "https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/web3-core-method%401.10.4/index.js"
}, {
"type" : "WEB",
"url" : "https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57329"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/web3/web3.js/tree/1.x"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-26T12:55:46Z",
"nvd_published_at" : "2025-09-24T20:15:32Z"
}
}