{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-1001004","id":"CVE-2017-1001004","title":"Arbitrary JavaScript Execution in typed-function","description":"typed-function before 0.10.6 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.","descriptionLong":"typed-function before 0.10.6 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.","published":"2017-11-27T14:00:00.000Z","updated":"2026-10-20T10:48:01.140899179Z","reserved":"2017-11-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"joshbressers","metric":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["typed-function"],"affectedProducts":[{"vendor":"typed-function","product":"typed-function","defaultStatus":null,"versions":[{"status":"affected","version":"0.10.6"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"typed-function","purl":"pkg:npm/typed-function","ranges":["<0.10.6"],"fixed":["0.10.6"],"advisory":"GHSA-3qh4-r86r-grvm"}],"cwes":["CWE-94","CWE-20"],"aliases":["GHSA-3qh4-r86r-grvm"],"references":[{"url":"https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"https://github.com/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1001004","tags":["advisory"]},{"url":"https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe?diff=split#diff-9e1f22c2954a38db1fdf444dbc74e0a8","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-TYPEDFUNCTION-174139","tags":["web"]},{"url":"https://www.npmjs.com/advisories/819","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01884,"epssPercentile":0.79913,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-1001004","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1001004","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-1001004","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3qh4-r86r-grvm","ok":true,"note":"GHSA-3qh4-r86r-grvm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-1001004","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}