Vulnerabilities/

Improper Control of Generation of Code in doT

Severity:
High

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.

Recommendation

Update the dot package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
dot
Anything's wrong? Let us know Last updated on January 27, 2023

This issue is available in SmartScanner Professional

See Pricing