form-data-objectizer@1.0.2

```js const FormDataObjectizer = require("form-data-objectizer") const formData = new FormData()

Direct Vulnerabilities

Known vulnerabilities in the form-data-objectizer package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • H
Prototype Pollution

form-data-objectizer is a ```js const FormDataObjectizer = require("form-data-objectizer") const formData = new FormData()

Affected versions of this package are vulnerable to Prototype Pollution through bracket-notation form key parsing in treatInitial and treatSecond in index.cjs. An attacker can mutate Object.prototype by submitting a form field such as __proto__[polluted] or constructor[prototype][polluted] to toObject(). The parser follows inherited properties while walking nested keys, so attacker-controlled segments can descend into __proto__ or constructor.prototype and assign arbitrary properties onto the global prototype.

How to fix Prototype Pollution?

A fix was pushed into the master branch but not yet published.

*