Description
valib through 2.0.0 allows Internal Property Tampering. A maliciously crafted JavaScript object can bypass several inspection functions provided by valib. Valib uses a built-in function (hasOwnProperty) from the unsafe user-input to examine an object. It is possible for a crafted payload to overwrite this function to manipulate the inspection results to bypass security checks.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | valib | All versions including 2.0.0 |
References
- https://snyk.io/vuln/SNYK-JS-VALIB-559015Exploit, Third Party Advisory
- https://www.npmjs.com/package/valibThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-VALIB-559015Exploit, Third Party Advisory
- https://www.npmjs.com/package/valibThird Party Advisory
Timeline
- Published
- Feb 28, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified