{"id":"CVE-2020-8141","aliases":["CVE-2020-8141","GHSA-297x-8xj4-vcxv"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Control of Generation of Code in doT","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El Dot Package versión v1.1.2, utiliza Function() para compilar plantillas. Esto puede ser explotado por el atacante si pueden controlar la plantilla entregada o si pueden controlar el valor establecido en Object.prototype.","source":"nvd"}],"published":"2020-03-15T17:04:40.000Z","modified":"2026-06-17T03:25:55.900Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"1.1.2","status":"affected"}],"product":"dot","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.3"}],"ecosystem":"npm","package":"dot","purl":"pkg:npm/dot","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.1.2"}],"vendor":"dot_project","product":"dot","cpe":"cpe:2.3:a:dot_project:dot:1.1.2:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/390929","tags":["exploit","mitigation","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8141","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8141","url":"https://www.cve.org/CVERecord?id=CVE-2020-8141","licence":"CVE Terms of Use","modified":"2024-08-04T09:48:25.637Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-297x-8xj4-vcxv","url":"https://github.com/advisories/GHSA-297x-8xj4-vcxv","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:14.259Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8141","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8141","licence":"Public domain","modified":"2026-06-17T03:25:55.900Z"}],"updatedAt":"2026-11-25T22:57:51.428Z","epss":{"score":0.02197,"percentile":0.83008,"date":"2026-12-01T12:00:22.000Z"}}