Skip to content

flatted (npm)

A fast and minimal circular JSON parser.

Advisories
4
Latest version
3.4.4
Released Jul 30, 2026
License
ISC
OpenSSF Scorecard
4.3 / 10

How to fix

Upgrading to 3.4.2 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install flatted@3.4.4
yarn
yarn add flatted@3.4.4
pnpm
pnpm add flatted@3.4.4

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-rf6f-7fwh-wjgh
Prototype Pollution via parse() in NodeJS flatted
High
EPSS 0.84%
< 3.4.2
3.4.2
GHSA-rf6f-7fwh-wjgh
Prototype Pollution via parse() in NodeJS flatted
High
EPSS 0.84%
<= 3.4.1
No fix yet
GHSA-25h7-pfq9-p65f
flatted vulnerable to unbounded recursion DoS in parse() revive phase
High
EPSS 0.84%
< 3.4.0
3.4.0
GHSA-25h7-pfq9-p65f
flatted vulnerable to unbounded recursion DoS in parse() revive phase
High
EPSS 0.84%
< 3.4.0
3.4.0

Source: git+https://github.com/WebReflection/flatted.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor