CVEvulnerability
CVE-2021-21278
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-01-26
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-74
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 configurations
• rsshub rsshub (< 2021-01-25)
Related
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699d Patch, Third Party Advisory
- https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5c Third Party Advisory
- https://www.npmjs.com/package/rsshub Product, Third Party Advisory
- https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699d Patch, Third Party Advisory
- https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5c Third Party Advisory
- https://www.npmjs.com/package/rsshub Product, Third Party Advisory