# CVE-2024-57072: module-from-string prototype pollution

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-02-05T00:00:00.000Z
- Modified: 2026-06-17T08:13:16.717Z
- Also known as: GHSA-q5j8-9m9g-x2jh
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

A prototype pollution in the lib.requireFromString function of module-from-string v3.3.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- module-from-string (npm): up to 3.3.1

## Every score

- CISA-ADP: 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`
- GitHub: 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://gist.github.com/tariqhawis/8b1fe301dd1ea52952cef347daddee67> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-57072> (advisory)
- <https://github.com/exuanbo/module-from-string> (package)

## Sources

- CVE List: [CVE-2024-57072](https://www.cve.org/CVERecord?id=CVE-2024-57072), CVE Terms of Use, modified 2025-02-06
- GitHub Advisory Database: [GHSA-q5j8-9m9g-x2jh](https://github.com/advisories/GHSA-q5j8-9m9g-x2jh), CC-BY-4.0, modified 2025-02-06
- NVD: [CVE-2024-57072](https://nvd.nist.gov/vuln/detail/CVE-2024-57072), Public domain, modified 2026-06-17

---

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