High, CVSS 8.8npmAmendedPublished
Improper Control of Generation of Code in doT
CVE-2020-8141 · GHSA-297x-8xj4-vcxv
- Affected
- npm dot <= 1.1.2
- Fixed in
- 1.1.3· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.1.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.