Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | dot | 1.1.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-dot | 1.1.3+ds-1 | — |
| Debian 13 | node-dot | 1.1.3+ds-1 | — |
| Debian 12 | node-dot | 1.1.3+ds-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | dot | < 1.1.3 | 1.1.3 | GHSA-297x-8xj4-vcxv |