Fix HIGH severity Prototype Pollution in flatted (CVE-2026-33228)#86
Fix HIGH severity Prototype Pollution in flatted (CVE-2026-33228)#86haasonsaas merged 1 commit intomainfrom
Conversation
Add npm override to pin flatted >=3.4.2, resolving the Prototype Pollution via parse() vulnerability. flatted is a transitive dependency of flat-cache (used by eslint). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR SummaryLow Risk Overview Updates Written by Cursor Bugbot for commit 714f87a. This will update automatically on new commits. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Unbounded override range risks future major version breakage
- Changed the
flattedoverride from>=3.4.2to^3.4.2so fresh installs stay within the compatible 3.x range.
- Changed the
You can send follow-ups to this agent here.
| "tailwindcss": "^4.2.1" | ||
| }, | ||
| "overrides": { | ||
| "flatted": ">=3.4.2" |
There was a problem hiding this comment.
Unbounded override range risks future major version breakage
Low Severity
The flatted override uses >=3.4.2, an unbounded upper range that would match future major versions (e.g., 4.0.0). The upstream consumer flat-cache declares "flatted": "^3.2.9" (i.e., <4.0.0). A future major version of flatted could be installed that is incompatible with flat-cache, breaking linting. Using ^3.4.2 instead would stay within the semver-compatible range.


Summary
parse()(CVE-2026-33228, HIGH severity)flattedis a transitive dependency (viaflat-cache->eslint), pinned at 3.4.0 in the lockfileoverridesentry inweb/package.jsonto enforceflatted >=3.4.2, updating the lockfile from 3.4.0 to 3.4.2Test plan
npm install --package-lock-onlysucceeds without errorsflattedresolves to 3.4.2 in the updated lockfile🤖 Generated with Claude Code