Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting eslint package, versions <10.1.0-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-ESLINT-15753483
  • published23 Mar 2026
  • disclosed20 Mar 2026

Introduced: 20 Mar 2026

NewCVE-2026-33228  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

Upgrade Wolfi eslint to version 10.1.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream eslint package and not the eslint package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

flatted is a circular JSON parser. Prior to version 3.4.2, the parse() function in flatted can use attacker-controlled string values from the parsed JSON as direct array index keys, without validating that they are numeric. Since the internal input buffer is a JavaScript Array, accessing it with the key "proto" returns Array.prototype via the inherited getter. This object is then treated as a legitimate parsed value and assigned as a property of the output object, effectively leaking a live reference to Array.prototype to the consumer. Any code that subsequently writes to that property will pollute the global prototype. This issue has been patched in version 3.4.2.

CVSS Base Scores

version 3.1