Risk of code injection in RSSHub
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DIYgod | RSSHub | before 7f1c430 | 7f1c430 | Patch available | CNA |
| — | rsshub (npm) | up to 1.0.0 | — | No fix listed | GHSA-pgjj-866w-fc5c |
- RSSHub VendorDIYgod Affected before 7f1c430 Fixed in 7f1c430 Patch available CNA
- rsshub (npm) Vendor— Affected up to 1.0.0 Fixed in — No fix listed GHSA-pgjj-866w-fc5c
Remediation
- Fix · CNA RSSHub (DIYgod) Fixed in 7f1c430
Timeline
- 2026-10-02 Threatist record created from CVE-2021-21278
- 2026-10-03 Alias added: GHSA-pgjj-866w-fc5c
References
More DIYgod Rsshub vulnerabilities
- TI-2022-13154 Denial of Service (DoS) vulnerability in RSSHub CVSS 3.1HIGH 7.5
- TI-2023-08742 RSSHub is vulnerable to SSRF (Server-Side Request Forgery) CVSS 3.1HIGH 8.8
- TI-2024-18530 RSSHub vulnerable to SSRF in /mastodon, /zjoi, and /m4 CVSS 3.1MEDIUM 6.5
- TI-2024-18529 RSSHub Cross-site Scripting vulnerability caused by internal media proxy CVSS 3.1MEDIUM 6.1
- TI-2023-11638 RSSHub is vulnerable to cross-site scripting (XSS) via unvalidated URL parameters CVSS 3.1MEDIUM 6.1
Sources
- CVE-2021-21278 · CVE Program
- CVE-2021-21278 · NVD
- FIRST EPSS
- GHSA-pgjj-866w-fc5c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences