# GHSA-c3px-v9c7-m734: Prototype Pollution in mithril

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T19:04:39.000Z
- Modified: 2020-08-31T18:47:02.000Z
- Weaknesses: CWE-1321

## Description

Affected versions of `mithril`are vulnerable to prototype pollution. The function `parseQueryString` may allow a malicious user to modify the prototype of `Object`, causing the addition or modification of an existing property that will exist on all objects. A payload such as `__proto__%5BtoString%5D=123` in the query string would change the `toString()` function to `123`.



## Recommendation

If you are using mithril 2.x, upgrade to version 2.0.2 or later.
If you are using mithril 1.x, upgrade to version 1.1.7 or later.

(As written by GitHub Advisory Database.)

## Affected

- mithril (npm): before 1.1.7; from 2.0.0 before 2.0.2

## References

- <https://www.npmjs.com/advisories/1094> (web)

## Sources

- GitHub Advisory Database: [GHSA-c3px-v9c7-m734](https://github.com/advisories/GHSA-c3px-v9c7-m734), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-c3px-v9c7-m734 · Whole record: https://cve.day/GHSA-c3px-v9c7-m734.json · Rebuilt by cve.day 2026-11-25T22:56:45.018Z
