GitHub Advisory Database
GHSA-297x-8xj4-vcxv
Improper Control of Generation of Code in doT
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | dot | All versions before 1.1.3 (fixed in 1.1.3) |