-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for prototype polution (npm-security advisory 755) #1496
Conversation
This commit fixes a Remote Code Execution (RCE) reported by npm-security. Access to non-enumerable "constructor"-properties is now prohibited by the compiled template-code, because this the first step on the way to creating and execution arbitrary JavaScript code. The vulnerability affects systems where an attacker is allowed to inject templates into the Handlebars setup. Further details of the attack may be disclosed by npm-security. Closes #1267 Closes #1495
Released in 4.1.0 |
Closes #1495 |
@ilsken Thank you for notifying us about that. In the future though, please use private e-mail or reach out via npm-security to notify about security issues. That way, we can fix the issue before its going public. I'll try to reach out to mahmoudsec too to take the blog post down until this is fixed. I'm going to delete your comment until we fix the problem, just to prevent the blog post from gaining popularity. |
This PR fixes http://www.npmjs.com/advisories/755