CVE-2024-21489
HIGH 7.8CVSS 4.0uPlot Prototype Pollution vulnerability
Versions of the package uplot before 1.6.31 are vulnerable to Prototype Pollution via the uplot.assign function due to missing check if the attribute resolves to the object prototype.
- Published
- 1 Oct 2024
- Last modified
- 10 Aug 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-34q8-jcq6-mc37
- Sources
- NVDJSONOSV GHSA-34q8-jcq6-mc37JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | HIGH 7.8 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | uplot | < 1.6.31 | 1.6.31 |
References
- https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js%23L437-L452
- https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983 · WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8163085
- https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21489 · ADVISORY
- https://github.com/leeoniya/uPlot · PACKAGE
- https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js#L437-L452 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 1 Oct 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Oct 2024)