Skip to content

Lodash vulnerability update #2834

Description

@rickbairstow

Hi 👋

Please could you look at updating to the latest lodash dependency >=4.18.1. It's currently pinned to 4.17.21 across all @nivo packages, which has a known Arbitrary Code Injection vulnerability reported in April 2026.

The vulnerability fix is available in 4.18.1 (note: 4.18.0 was deprecated immediately due to a breaking regression, so 4.18.1 is the one to target).

References:

In the meantime, an interim workaround for consumers would be to add an override to their package.json with:

"overrides": {
  "lodash": ">=4.18.1"
}

Thanks for maintaining Nivo! 🏆 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions