web3-core-subscriptions Prototype Pollution Vulnerability Allowing Denial-of-Service

Vulnerability

A prototype pollution vulnerability has been identified in the web3-core-subscriptions package, specifically in versions through 1.10.4. The issue arises in the attachToObject function, where attackers can inject properties into Object.prototype by sending a crafted payload. This exploitation can cause a denial-of-service condition, as the minimum consequence.

Impact

Exploitation of this vulnerability can lead to denial-of-service conditions, causing application crashes or unexpected behavior.

Reproduction

The vulnerability can be reproduced by creating an instance of an object that the web3-core-subscriptions package manages. During the instantiation, a crafted payload can be supplied that injects properties into the Object.prototype. This can be done by manipulating the input to the attachToObject function, which is vulnerable to prototype pollution.

Added: Sep 24, 2025, 10:13 PM
Updated: Sep 24, 2025, 10:13 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
0.6
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.