What’s Vulnerable › Vulnerabilities

CVE-2021-21278: Risk of code injection in RSSHub

Description

RSSHub is an open source, easy to use, and extensible RSS feed generator. In RSSHub before version 7f1c430 (non-semantic versioning) there is a risk of code injection. Some routes use `eval` or `Function constructor`, which may be injected by the target site with unsafe code, causing server-side security issues The fix in version 7f1c430 is to temporarily remove the problematic route and added a `no-new-func` rule to eslint.

Affected products

How to fix

Upgrade to a fixed version: DIYgod RSSHub 2021-01-25. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21278 or the next vulnerability affects your stack