js(deps): Pin rollup and flatted to fix CVE-2026-27606 and CVE-2026-33228#11
Merged
danielinniss merged 2 commits intomainfrom Mar 25, 2026
Merged
js(deps): Pin rollup and flatted to fix CVE-2026-27606 and CVE-2026-33228#11danielinniss merged 2 commits intomainfrom
danielinniss merged 2 commits intomainfrom
Conversation
tony
approved these changes
Mar 25, 2026
Collaborator
tony
left a comment
There was a problem hiding this comment.
ckeditor5-math on ckeditor5-spring-2026 ❯ yarn ts:build; yarn build:dist
yarn run v1.22.22
$ tsc -p ./tsconfig.release.json
✨ Done in 0.87s.
yarn run v1.22.22
$ node ./scripts/build-dist.mjs
1/2: Generating NPM build...
2/2: Generating browser build...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
✨ Done in 3.68s.
ckeditor5-math on fix/rollup-flatted-cves ❯
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes CVE-2026-27606 (rollup path traversal) and CVE-2026-33228 (flatted prototype pollution) by pinning safe versions:
Also fixes ESM compatibility issue by scoping minimatch/debug/diff to mocha (preventing ESM-only package resolution that breaks CommonJS tooling).
These vulnerabilities were identified during the CKEditor v47 upgrade assessment (LOB-1938).
Test plan
Note
Medium Risk
Primarily dependency resolution changes, but upgrading
rollup(and related tooling inyarn.lock) could affect build output or packaging behavior if the toolchain has subtle breaking changes.Overview
Pins dependency resolutions to address security issues by forcing
rollup(>=4.59.0) andflatted(>=3.4.2) to patched versions.Adds additional
resolutionsoverrides for Mocha transitive deps (debug,diff,minimatch) and refreshesyarn.lockto reflect the new pinned versions (including updated@babel/helpersand Rollup platform binaries).Written by Cursor Bugbot for commit 5380e9c. This will update automatically on new commits. Configure here.