Skip to content

Vulnerability found (due to highlight.js) #400

Open
@damianobarbati

Description

@damianobarbati

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                     │
└───────────────┴──────────────────────────────────────────────────────────────┘

Activity

hristoiankov

hristoiankov commented on Apr 2, 2022

@hristoiankov

This is preventing me from using handlebars-helpers.

jonathas

jonathas commented on May 19, 2022

@jonathas

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

damianobarbati commented on May 19, 2022

@damianobarbati
Author

Thank you @jonathas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jonathas@damianobarbati@hristoiankov

        Issue actions

          Vulnerability found (due to highlight.js) · Issue #400 · helpers/handlebars-helpers