decap-cms
decap-cms copied to clipboard
Regular Expression Denial of Service in trim
Describe the bug
decap-cms-app has a transitive depenency on trim, which currently has a security vulnerability for the pinned version.
https://github.com/advisories/GHSA-w5p7-h5w8-2hfq
To Reproduce
- In a new directory
npm init -y && npm i decap-cms-app && npm audit
npm audit logs
Alternatively:
- Create a repo with
decap-cms-appas a package.json dependency - Enable dependabot security updates
- Witness dependabot security alert and inability to update
Logs from dependabot's attempt to update
Expected behavior
decap-cms-app not to have security vulnerabilities via transitive dependencies
Applicable Versions:
- Decap CMS version: 3.8.3
@danwulff we have to update remark-parse, which is a very painful task :/