Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rsshub | Rsshub | < 2021-01-25 |
Related Weaknesses (CWE)
References
- https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699dPatchThird Party Advisory
- https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5cThird Party Advisory
- https://www.npmjs.com/package/rsshubProductThird Party Advisory
- https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699dPatchThird Party Advisory
- https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5cThird Party Advisory
- https://www.npmjs.com/package/rsshubProductThird Party Advisory
FAQ
What is CVE-2021-21278?
CVE-2021-21278 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 `Funct...
How severe is CVE-2021-21278?
CVE-2021-21278 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-21278?
Check the references section above for vendor advisories and patch information. Affected products include: Rsshub Rsshub.