CVE-2017-1001004
HIGH 8.8CVSS 3.0Arbitrary JavaScript Execution in typed-function
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
- 27 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- 46fe6300-5254-4a98-9594-a9567bec8179
- NVD status
- Modified
- Weakness
- CWE-20CWE-94
- Also known as
- GHSA-3qh4-r86r-grvm
- Sources
- NVDJSONOSV GHSA-3qh4-r86r-grvmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | typed_function_project | typed_functioncpe:2.3:a:typed_function_project:typed_function:*:*:*:*:*:*:*:* |
< 0.10.6 | 0.10.6 |
| OSV | npm | typed-function | < 0.10.6 | 0.10.6 |
References
- https://github.com/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106 · WEB
- https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-1001004 · ADVISORY
- https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe?diff=split#diff-9e1f22c2954a38db1fdf444dbc74e0a8 · WEB
- https://snyk.io/vuln/SNYK-JS-TYPEDFUNCTION-174139 · WEB
- https://www.npmjs.com/advisories/819 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 27 Nov 2017)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Sep 2020)