# CVE-2022-37598: Prototype pollution vulnerability in function DEFNODE in ast.js in mishoo UglifyJS 3.13.2 via the name variable in ast.js.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.99%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-10-20T00:00:00.000Z
- Modified: 2026-06-17T04:55:08.180Z
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

Prototype pollution vulnerability in function DEFNODE in ast.js in mishoo UglifyJS 3.13.2 via the name variable in ast.js. NOTE: the vendor considers this an invalid report.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- uglifyjs_project uglifyjs: 3.13.2

## References

- <https://github.com/mishoo/UglifyJS/blob/352a944868b09c9ce3121a49d4a0bf0afe370a35/lib/ast.js#L46> (exploit, third-party-advisory)
- <https://github.com/mishoo/UglifyJS/blob/352a944868b09c9ce3121a49d4a0bf0afe370a35/lib/ast.js#L79> (exploit, third-party-advisory)
- <https://github.com/mishoo/UglifyJS/issues/5699> (issue-tracking, third-party-advisory)
- <https://github.com/mishoo/UglifyJS/issues/5721#issuecomment-1292849604> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-37598](https://www.cve.org/CVERecord?id=CVE-2022-37598), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-37598](https://nvd.nist.gov/vuln/detail/CVE-2022-37598), Public domain, modified 2026-06-17

---

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