mithril@2.0.0-rc.0 vulnerabilities

A framework for building brilliant applications

Direct Vulnerabilities

Known vulnerabilities in the mithril package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

mithril is a modern client-side JavaScript framework for building Single Page Applications and provides routing and XHR utilities out of the box.

Affected versions of this package are vulnerable to Prototype Pollution via the m.parseQueryString function.

How to fix Prototype Pollution?

Upgrade mithril to version 2.0.3 or higher.

<2.0.3
  • H
Prototype Pollution

mithril is a modern client-side JavaScript framework for building Single Page Applications and provides routing and XHR utilities out of the box.

Affected versions of this package are vulnerable to Prototype Pollution. parseQueryString may allow a malicious user to modify the prototype of Object, allowing the addition or modification of an existing property that will exist on all objects. An example of a payload would be, __proto__%5BtoString%5D=123, this would change the toString() function to 123.

How to fix Prototype Pollution?

Upgrade mithril to version 1.1.7, 2.0.3 or higher.

<1.1.7 >=2.0.0-rc.0 <2.0.3