CVE-2021-21278 HIGH

CVE-2021-21278: Risk of code injection in RSSHub

Vendor Diygod
Product RSSHub
Weakness CWE-74
Published January 26, 2021
Last update August 3, 2024

CVSS base score

8.6/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 26, 2021 CVE published
August 3, 2024 Record updated