# CVE-2023-34109: User input results in Unbounded resource consumption in @zxcvbn-ts/core

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2023-06-07T17:11:21.949Z
- Modified: 2026-06-17T06:02:54.837Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

zxcvbn-ts is an open source password strength estimator written in typescript. This vulnerability affects users running on the nodeJS platform which are using the second argument of the zxcvbn function. It can result in an unbounded resource consumption as the user inputs array is extended with every function call. Browsers are impacted, too but a single user need to do a lot of input changes so that it affects the browser, while the node process gets the inputs of every user of a platform and can be killed that way. This problem has been patched in version 3.0.2. Users are advised to upgrade. Users unable to upgrade should stop using the second argument of the zxcvbn function and use the zxcvbnOptions.setOptions function.

(As written by CVE List.)

## Affected

- zxcvbn-ts zxcvbn: < 3.0.2
- zxcvbn-ts_project zxcvbn-ts: before 3.0.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/zxcvbn-ts/zxcvbn/security/advisories/GHSA-38hx-x5hq-5fg4> (vendor-advisory)
- <https://github.com/zxcvbn-ts/zxcvbn/commit/3f9bed21b5d01f6f6863476822ca857355fba22f> (patch)

## Sources

- CVE List: [CVE-2023-34109](https://www.cve.org/CVERecord?id=CVE-2023-34109), CVE Terms of Use, modified 2025-01-06
- NVD: [CVE-2023-34109](https://nvd.nist.gov/vuln/detail/CVE-2023-34109), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34109 · Whole record: https://cve.day/CVE-2023-34109.json · Rebuilt by cve.day 2026-11-25T22:58:24.668Z
