{"schemaVersion":3,"id":"CVE-2019-10781","aliases":["GHSA-r24h-634p-m72x","SNYK-JS-SCHEMAINSPECTOR-536970"],"status":"published","duplicateOf":null,"title":null,"description":"In schema-inspector before 1.6.9, a maliciously crafted JavaScript object can bypass the `sanitize()` and the `validate()` function used within schema-inspector.","dates":{"published":"2020-01-22T13:40:56.000Z","modified":"2024-08-04T22:32:01.588Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.01392,"percentile":0.71944,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01392},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01392,"percentile":0.71944}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01392,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01392,"percentile":0.71944}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"Npm","product":"schema-inspector","name":"schema-inspector","label":"schema-inspector","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/schema-inspector","purlType":"npm","versions":[{"text":"< 1.6.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.9","eol":null,"hubHref":null},{"vendor":"schema-inspector_project","product":"schema-inspector","name":"schema-inspector","label":"schema-inspector","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.6.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.9","eol":null,"hubHref":"/vendor/schema-inspector_project/schema-inspector"},{"vendor":"snyk","product":"schema-inspector","name":"schema-inspector","label":"schema-inspector","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"All versions prior to version 1.6.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions prior to version 1.6.9","eol":null,"hubHref":"/vendor/snyk/schema-inspector"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SCHEMAINSPECTOR-536970","label":"snyk.io/vuln/SNYK-JS-SCHEMAINSPECTOR-536970","hostname":"snyk.io","tags":["X Refsource MISC","Third Party Advisory","WEB"]},{"url":"https://github.com/Atinux/schema-inspector/commit/345a7b2eed11bb6128421150d65f4f83fdbb737d","label":"github.com/Atinux/schema-inspector/commit/345a7b2eed11bb6128421150d65f4f83fdbb737d","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10781","label":"nvd.nist.gov/vuln/detail/CVE-2019-10781","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/Atinux/schema-inspector","label":"github.com/Atinux/schema-inspector","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-01-22T13:40:56.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T22:32:01.588Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:51:52.261Z","stale":false,"partial":false}}