{"id":"CVE-2020-8141","published":"2020-03-15T17:04:40Z","modified":"2024-08-04T09:48:25Z","title":"The dot package v1.1.2 uses Function() to compile templates","vendor":null,"product":null,"tier":"tail","description":{"text":"The dot package v1.1.2 uses Function() to compile templates. This can be exploited by the attacker if they can control the given template or if they can control the value set on Object.prototype.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02197,"percentile":0.82931,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://hackerone.com/reports/390929","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":16.59}]},"affectedVersions":[{"vendor":"n/a","product":"dot","versions":["1.1.2"]}],"affected":[{"ecosystem":"npm","package":"dot","vulnerableRanges":["<1.1.3"],"patched":["1.1.3"],"from":["GHSA-297x-8xj4-vcxv"],"provenance":"source"}],"summary":{"text":"The dot package v1.1.2 compiles templates using Function(), exposing a code injection flaw in its template compilation component. An attacker who can control the template being compiled, or who can set values on Object.prototype, may be able to inject and execute code; no specific network access, authentication or user interaction conditions are stated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:58Z"},"euvd":{"id":"EUVD-2022-1949","exploited":false,"provenance":"source"}}