assemble / grunt-assemble-i18n

Assemble middleware for adding i18n support to projects.
24 stars 8 forks source link

moderate severity security vulnerability on handlebars dependency #62

Open rbecheras opened 6 years ago

rbecheras commented 6 years ago

The handlebars package before 4.0.0 for Node.js allows remote attackers to conduct cross-site scripting (XSS) attacks by leveraging a template with an attribute that is not quoted.

The actual dependency is on handlebars v1.3.0.

See the CVE ticket: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8861

Thus handlebars should be upgraded to v4+, i.e. to the latest stable release.

NB:

assemblebot commented 6 years ago

@rbecheras Thanks for the issue! If you're reporting a bug, please be sure to include:

doowb commented 6 years ago

Handlebars isn't even used directly in this lib or the tests. I don't remember why it's in here. If you'd like to remove it and see if the tests pass, I'm fine with that.

rbecheras commented 6 years ago

Yes indeed it's a bit weird to have it as development dependency. I'll try to remove it and we'll see