CVE-2020-8141
HIGH 8.8CVSS 3.1Improper Control of Generation of Code in doT
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.
- Published
- 15 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-297x-8xj4-vcxv
- Sources
- NVDJSONOSV GHSA-297x-8xj4-vcxvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dot_project | dotcpe:2.3:a:dot_project:dot:1.1.2:*:*:*:*:node.js:*:* |
= 1.1.2 | |
| OSV | npm | dot | < 1.1.3 | 1.1.3 |
References
- https://hackerone.com/reports/390929 · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8141 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 15 Mar 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 May 2022)