Description
nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile()
resulting in code injection
Recommendation
Update the ejs
package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.5.5
- Patched version(s): 2.5.5
References
Related Issues
- Denial of Service in jquery - CVE-2016-10707
- gifplayer XSS vulnerability - CVE-2025-31128
- ejs lacks certain pollution protection - CVE-2024-33883
- Prototype pollution in gsap - CVE-2020-28478
- Tags:
- npm
- ejs
Anything's wrong? Let us know Last updated on September 08, 2023