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

Published Jan 26, 2021
·
Updated

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 Software

1 affected component
RSSHub Rsshub Node.js<2021-01-25

Event History

Jan 26, 2021
CVE Published
via MITRE·08:25 PM
Data Sourced
via MITRE·08:25 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-21278?

CVE-2021-21278 is classified as a high severity vulnerability due to the risk of code injection.

2

How do I fix CVE-2021-21278?

To mitigate CVE-2021-21278, upgrade to the patched version of RSSHub released after the commit 7f1c430.

3

What causes CVE-2021-21278?

CVE-2021-21278 is caused by the use of eval or the Function constructor in RSSHub routes that allow for potential code injection.

4

Is my version of RSSHub affected by CVE-2021-21278?

Any version of RSSHub prior to the commit timestamp of 7f1c430 is vulnerable to CVE-2021-21278.

5

What types of attacks are possible due to CVE-2021-21278?

CVE-2021-21278 could allow an attacker to execute arbitrary code within the context of the application, leading to potential data breaches or system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203