Lodash vulnerability update
Author: rickbairstowCreated May 29, 2026Updated Sep 17, 2026
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:
- https://security.snyk.io/vuln/SNYK-JS-LODASH-15869625
- https://socket.dev/npm/package/@nivo/core/overview/0.99.0
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!
Source: plouc/nivo