CVE-2024-36574: flatten-json · n/a
Affects flatten-jsonSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 17 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmflatten-jsonpkg:npm/flatten-jsonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-36574, organizations should first monitor for an official patch or updated version of flatten-json that addresses the prototype pollution issue and apply it promptly. In the interim, developers should implement strict input validation and sanitization to prevent malicious payloads from influencing the prototype chain, especially when processing JSON data from untrusted sources. Employing runtime protections such as object freezing or using libraries that prevent prototype pollution can reduce risk. Additionally, sandboxing or running vulnerable components with least privilege can limit the impact of a successful exploit. Security teams should audit dependencies to identify usage of flatten-json 1.0.1 and assess exposure. Incorporating static and dynamic analysis tools to detect prototype pollution patterns during development and testing phases can help prevent introduction of similar vulnerabilities. Finally, monitoring application logs and behavior for anomalies related to object manipulation can aid in early detection of exploitation attempts.
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)