CVE-2020-28461 Prototype Pollution
Attackers can pollute the prototype via malicious INI files, potentially leading to code execution or privilege escalation in applications using the library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-28461?
CVE-2020-28461 is a high-severity vulnerability in js-ini, published on 25 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects the package js-ini before 1.3.0. If an attacker submits a malicious INI file to an application that parses it with parse , they will pollute the prototype on the application. This can be exploited further depending on the context.
Weakness: CWE-1321
Which versions are affected by CVE-2020-28461?
2 open source packages ship an affected version, including js-ini. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
js-ini npm | All versions | 1.3.0 |
js-ini npm | All versions | 1.3.0 |
Products include Js-Ini Project Js-Ini.
How do I fix CVE-2020-28461?
Upgrade js-ini to 1.3.0 or later.
Is CVE-2020-28461 being exploited?
There is no known exploitation of CVE-2020-28461 in the wild and no public exploit code.
Sources
Also known as GHSA-m939-vrfp-9v8p.