Skip to content
OpenAdvisories
High · 8.6 CVE-2021-21278 EUVD-2021-2237GHSA-pgjj-866w-fc5c

Risk of code injection in RSSHub

Published Jan 26, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
DIYgod RSSHub < 7f1c430 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm rsshub <= 1.0.0 — GHSA-pgjj-866w-fc5c

References