[5.4] NPM audit fix one low and one moderate severity security vulnerability#46758
Merged
muhme merged 2 commits intojoomla:5.4-devfrom Jan 26, 2026
Merged
Conversation
4 tasks
muhme
approved these changes
Jan 26, 2026
Contributor
muhme
left a comment
There was a problem hiding this comment.
✅ Final code review and test before merge with local git clone
- Checked file changes
- Seen the 3 vulnerabilities (1 low, 2 moderate) before PR
- Manual edited
"diff": "^5.2.2"and runningnpm audit fixby own, savedpackage-lock.json - Applied PR with
gh pr checkout 46758 npm auditshows only the one breaking-change tinymce moderate-severity-vulnerability as expectedpackage-lock.jsonfile is identical to own created
Contributor
|
Thank you @richard67. |
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.
Pull Request for Issue # .
Summary of Changes
This pull request (PR) fixes one low and one moderate severity security vulnerability in NPM dependencies reported by
npm auditby usingnpm audit fix.This updates the direct non-developer dependency "diff" from 5.3.0 to 5.2.2 and the indirect development dependency "loadsh" from 4.7.21 to 4.7.23.
@Bodge-IT @softforge @muhme In 6.0-dev the "diff" dependency has already been updated with PR #46713 from 8.0.2 to 8.0.3 to fix the same vulnerability. At that time there was no fix for their version 5. Now we have it in this PR here.
For the "lodash" dependency I've made PR #46759 for 6.0-dev to avoid ugly merge conflicts in the upmerge. @HLeithner @tecpromotion That update will also be needed in 6.1-dev. I can make a separate PR for that to avoid merge conflicts for your upmerge, but if you plan do do another, general NPM update anway, it would not need my separate 6.1-dev PR.
Testing Instructions
It needs a development environment with a git clone, composer and npm.
composer installandnpm ci.npm audit.Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed