# CVE-2024-36574: flatten-json Prototype Pollution

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2024-06-17T00:00:00.000Z
- Modified: 2026-06-17T07:36:58.483Z
- Also known as: GHSA-j8px-pjmp-325f
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

A Prototype Pollution issue in flatten-json 1.0.1 allows an attacker to execute arbitrary code via module.exports.unflattenJSON (flatten-json/index.js:42)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- amirziai flatten_json: 1.0.1
- @allanlancioni/flatten-json (npm): up to 1.0.1

## Every score

- CISA-ADP: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://gist.github.com/mestrtee/d5a0c93459599f77557b5bbe78b57325> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-36574> (advisory)
- <https://github.com/AllanLancioni/flatten-json> (package)

## Sources

- CVE List: [CVE-2024-36574](https://www.cve.org/CVERecord?id=CVE-2024-36574), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-j8px-pjmp-325f](https://github.com/advisories/GHSA-j8px-pjmp-325f), CC-BY-4.0, modified 2024-07-05
- NVD: [CVE-2024-36574](https://nvd.nist.gov/vuln/detail/CVE-2024-36574), Public domain, modified 2026-06-17

---

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