{"id":"GHSA-pmpr-vc5q-h3jw","summary":"Exposure of Resource to Wrong Sphere in valib","details":"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.","aliases":["CVE-2019-10805","SNYK-JS-VALIB-559015"],"modified":"2026-09-10T03:49:03.728710866Z","published":"2021-04-13T15:21:59Z","database_specific":{"cwe_ids":["CWE-668"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-04-09T22:21:38Z","nvd_published_at":"2020-02-28T21:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10805"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-VALIB-559015"},{"type":"WEB","url":"https://www.npmjs.com/package/valib"}],"affected":[{"package":{"name":"valib","ecosystem":"npm","purl":"pkg:npm/valib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-pmpr-vc5q-h3jw/GHSA-pmpr-vc5q-h3jw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}