{"id":"CVE-2021-21278","published":"2021-01-26T20:25:15Z","modified":"2024-08-03T18:09:15Z","title":"Risk of code injection in RSSHub","vendor":"DIYgod","product":"RSSHub","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01604,"percentile":0.76017,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699d","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/rsshub","tags":["x_refsource_MISC"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":15.2},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"diygod","affectedVersions":[{"vendor":"DIYgod","product":"RSSHub","versions":["< 7f1c430"]}],"affected":[{"ecosystem":"npm","package":"rsshub","vulnerableRanges":["<=1.0.0"],"patched":[],"from":["GHSA-pgjj-866w-fc5c"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-2237","exploited":false,"provenance":"source"}}