-
Notifications
You must be signed in to change notification settings - Fork 767
WEB-281 npm audit indicates 2 severe security issues #2723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
WalkthroughUpdates two package dependencies in package.json: changes "@ckeditor/ckeditor5-build-classic" from exact version "40.2.0" to caret-constrained "^39.0.2", and bumps "@angular/build" from "^19.2.15" to "^19.2.17" in both dependencies and devDependencies. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Varun789-mx , sorry to say, but running npm install based on a fresh clone of the dev branch outputs "24 moderate severity vulnerabilities", and a clone of your PR outputs exactly the same. Probably package maintainers fixed severe issues in the meantime. You downgraded the ckeditor5 major version, which would require significant testing to guarantee it is sound. I therefore recommend to close this PR. What is your opinion? Do you (after deleting the node_modules folder, in case you have it; and making sure you use the checked-in package-lock.json) still get high-severity issues?
Description
Resolved critical security vulnerabilities identified by npm audit related to CKEditor5. The audit reported an XSS (Cross-Site Scripting) vulnerability in the clipboard package affecting CKEditor5 versions 40.0.0 through 43.1.0. Downgraded @ckeditor/ckeditor5-build-classic to version 39.0.2 as recommended by npm audit to eliminate the security risk while maintaining editor functionality.
No new dependencies added. This change modifies the existing CKEditor5 dependency version.
Related issues and discussion
WEB-281
Screenshots, if any
Not required as this is a dependency security fix.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
web-app/.github/CONTRIBUTING.md.Summary by CodeRabbit