CVE-2021-21278
published high CVSS 3.1 · 8.6Risk of code injection in RSSHub
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DIYgod | — | RSSHub< 7f1c430 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DIYgod | RSSHub | < 7f1c430 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
3Provider assertions
2GitHub_M · cna
Risk of code injection in RSSHub
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e77f316b7fd60e09622f7e42ee86a53a6dd4a105aac9035ce25ab7d647e4b479
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record