Skip to content
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

moderate severity security vulnerability on handlebars dependency #62

Open
rbecheras opened this issue Feb 21, 2018 · 3 comments
Open

Comments

@rbecheras
Copy link
Member

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:

  • The priority is low because it is a devDependency.
  • The upgrade could break the CI jobs because moving over 3 major releases: v1.x −> v4.x
@assemblebot
Copy link

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

  • The version of assemble you are using.
  • Your assemblefile.js (This can be in a gist)
  • The commandline output. (Screenshot or gist is fine)
  • What you expected to happen instead.

@doowb
Copy link
Member

doowb commented Feb 21, 2018

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
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants