# CVE-2022-25862: Prototype Pollution

- Severity: Medium 4.0 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L/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.76%, higher than 51% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-13T20:05:11.030Z
- Modified: 2026-06-17T04:34:24.477Z
- Also known as: GHSA-ph28-wwfj-fv7f
- Weaknesses: CWE-1321
- Assigned by: snyk

## Description

This affects the package sds from 0.0.0. The library could be tricked into adding or modifying properties of the Object.prototype by abusing the set function located in js/set.js. **Note:** This vulnerability derives from an incomplete fix to [CVE-2020-7618](https://security.snyk.io/vuln/SNYK-JS-SDS-564123)

(As written by CVE List.)

## Affected

- sds: from 0.0.0 before unspecified
- sds (npm): up to 4.4.0
- sds_project sds: no versions given

## Every score

- snyk: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-SDS-2385944> (exploit, third-party-advisory, web)
- <https://github.com/monsterkodi/sds/blob/master/js/set.js> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7618> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25862> (advisory)
- <https://github.com/monsterkodi/sds> (package)

## Sources

- CVE List: [CVE-2022-25862](https://www.cve.org/CVERecord?id=CVE-2022-25862), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-ph28-wwfj-fv7f](https://github.com/advisories/GHSA-ph28-wwfj-fv7f), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2022-25862](https://nvd.nist.gov/vuln/detail/CVE-2022-25862), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25862 · Whole record: https://cve.day/CVE-2022-25862.json · Rebuilt by cve.day 2026-11-25T22:58:11.711Z
