GHSA-vpgw-ffh3-648h
Prototype Pollution in fullpage.js
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | fullpage.js | < 4.0.2 | 4.0.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
fullPage utils are available to developers using window.fp_utils. They can use these utils for their own use-case (other than fullPage) as well. However, one of the utils deepExtend is vulnerable to Prototype Pollution vulnerability.
Javascript is "prototype" language which means when a new "object" is created, it carries the predefined properties and methods of an "object" with itself like toString, constructor etc. By using prototype-pollution vulnerability, an attacker can overwrite/create the property of that "object" type. If the victim developer has used that property anywhere in the code, then it will have severe effect on the application.
References
External links from the advisory. They lead to third-party sites.