GitHub Advisoryadvisory · npm
GHSA-pgjj-866w-fc5c Risk of code injection
HIGH
Official page ↗
- Aliases
- CVE-2021-21278
- Ecosystem
- npm
- Packages
- rsshub
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Weaknesses
- CWE-74
- Reviewed
- 2021-10-11
Affected packages
• npm rsshub: <= 1.0.0 (no fix yet)
Description
Impact
Some routes use `eval` or `Function constructor`, which may be injected by the target site with unsafe code, causing server-side security issues
Patches
Temporarily removed the problematic route and added a `no-new-func` rule to eslint
Self-built users should upgrade to 7f1c430 and later as soon as possible
Credits
Tencent Woodpecker Security Team
For more information
If you have any questions or comments about this advisory:
• Open an issue in https://github.com/DIYgod/RSSHub/issues
• Email us at [email protected]
Related
Alias · CVE (1)
- CVE-2021-21278 RSSHub is an open source, easy to use, and extensible RSS feed generator. vulnerability
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness