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

Vulnerability found (due to highlight.js) #400

Open
damianobarbati opened this issue Jan 11, 2022 · 3 comments
Open

Vulnerability found (due to highlight.js) #400

damianobarbati opened this issue Jan 11, 2022 · 3 comments

Comments

@damianobarbati
Copy link

Consider updating the highlight.js dependency to prevent the yarn audit from yelling:

yarn audit
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ ReDOS vulnerabities: multiple grammars                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ highlight.js                                                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=10.4.1                                                     │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ handlebars-helpers                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ handlebars-helpers > helper-markdown > highlight.js          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1005528                     │
└───────────────┴──────────────────────────────────────────────────────────────┘
@hristoiankov
Copy link

This is preventing me from using handlebars-helpers.

@jonathas
Copy link

Since this repository is abandoned, I forked and created a new package here with the fix: https://www.npmjs.com/package/helpers-for-handlebars

@damianobarbati
Copy link
Author

Thank you @jonathas

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