ant-design / ant-design/pro-editor

🚨 Unsecure dependency lodash.template@4.5.0

Open
#206 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
247
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Please fix the security vulnerability in usage of deprecated package `lodash.template@4.5.0`.
- command injection via template
- See https://avd.aquasec.com/nvd/cve-2021-23337
- Suggest to use https://socket.dev/npm/package/eta

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the package declaration and every usage of lodash.template@4.5.0 in the TypeScript project, then read the surrounding code before evaluating the suggested eta replacement. Done means the deprecated vulnerable dependency is no longer used and the editor's affected behavior still works without the command-injection risk described in CVE-2021-23337.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.