{"id":"CVE-2021-21278","details":"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.","aliases":["GHSA-pgjj-866w-fc5c"],"modified":"2026-03-15T21:58:52.427255Z","published":"2021-01-26T21:15:12.673Z","related":["GHSA-pgjj-866w-fc5c"],"references":[{"type":"ADVISORY","url":"https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5c"},{"type":"ADVISORY","url":"https://www.npmjs.com/package/rsshub"},{"type":"FIX","url":"https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/diygod/rsshub","events":[{"introduced":"0"},{"fixed":"7f1c43094e8a82e4d8f036ff7d42568fed00699d"}]},{"type":"GIT","repo":"https://github.com/diygod/rsshub","events":[{"introduced":"0"},{"fixed":"7f1c43094e8a82e4d8f036ff7d42568fed00699d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21278.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"2021-01-25"}]},{"events":[{"introduced":"0"},{"fixed":"7f1c430"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}