# CVE-2024-21489: uPlot Prototype Pollution vulnerability

- Severity: High 8.8 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2024-10-01T05:00:02.644Z
- Modified: 2026-08-16T15:29:55.578Z
- Also known as: GHSA-34q8-jcq6-mc37
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- uplot: before 1.6.31
- org.webjars.npm:uplot: before *
- leeoniya uplot: before 1.6.31
- uplot (npm): before 1.6.31

## Every score

- snyk: CVSS:4.0 8.8 High `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`
- snyk: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`
- GitHub: CVSS:4.0 High `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`

## References

- <https://security.snyk.io/vuln/SNYK-JS-UPLOT-6209224> (web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8163085>
- <https://github.com/leeoniya/uPlot/blob/c52e5001c1d959a99ac495a53e4deca5c44464d2/src/utils.js%23L437-L452>
- <https://github.com/leeoniya/uPlot/commit/5756e3e9b91270b303157e14bd0174311047d983> (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)

## Sources

- CVE List: [CVE-2024-21489](https://www.cve.org/CVERecord?id=CVE-2024-21489), CVE Terms of Use, modified 2026-08-16
- GitHub Advisory Database: [GHSA-34q8-jcq6-mc37](https://github.com/advisories/GHSA-34q8-jcq6-mc37), CC-BY-4.0, modified 2024-10-01
- NVD: [CVE-2024-21489](https://nvd.nist.gov/vuln/detail/CVE-2024-21489), Public domain, modified 2026-08-10

---

Page: https://cve.day/CVE-2024-21489 · Whole record: https://cve.day/CVE-2024-21489.json · Rebuilt by cve.day 2026-11-25T22:58:45.910Z
