{"id":"GHSA-3qh4-r86r-grvm","summary":"Arbitrary JavaScript Execution in typed-function","details":"Versions of `typed-function` prior to 0.10.6 are vulnerable to Arbitrary JavaScript Execution. Function names are not properly sanitized and may allow an attacker to execute arbitrary code.\n\n\n## Recommendation\n\nUpgrade to version 0.10.6 or later.","aliases":["CVE-2017-1001004"],"modified":"2023-11-08T03:58:48.131161Z","published":"2020-09-02T18:24:39Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-94"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:36:57Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1001004"},{"type":"WEB","url":"https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe"},{"type":"WEB","url":"https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe?diff=split#diff-9e1f22c2954a38db1fdf444dbc74e0a8"},{"type":"WEB","url":"https://github.com/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-TYPEDFUNCTION-174139"},{"type":"WEB","url":"https://www.npmjs.com/advisories/819"}],"affected":[{"package":{"name":"typed-function","ecosystem":"npm","purl":"pkg:npm/typed-function"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-3qh4-r86r-grvm/GHSA-3qh4-r86r-grvm.json"}}],"schema_version":"1.9.0"}