Skip to main content
← All vulnerabilities
CVE-2021-21278GHSA-PGJJ-866W-FC5C

Risk of code injection in RSSHub

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7f1c430
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • DIYgod RSSHub

    fixed in 7f1c430

  • rsshubnpm

    through 1.0.0

References 3

GitHub · DIYgod/RSSHub

npmjs.com