{"id":"GHSA-pgjj-866w-fc5c","summary":"Risk of code injection","details":"### Impact\nSome routes use `eval` or `Function constructor`, which may be injected by the target site with unsafe code, causing server-side security issues\n\n### Patches\nTemporarily removed the problematic route and added a `no-new-func` rule to eslint\nSelf-built users should upgrade to 7f1c430 and later as soon as possible\n\n### Credits\nTencent Woodpecker Security Team\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [https://github.com/DIYgod/RSSHub/issues](https://github.com/DIYgod/RSSHub/issues)\n* Email us at [i@diygod.me](mailto:i@diygod.me)","aliases":["CVE-2021-21278"],"modified":"2026-09-13T11:56:31.857641533Z","published":"2021-10-12T16:03:43Z","database_specific":{"github_reviewed_at":"2021-10-11T16:14:26Z","nvd_published_at":"2021-01-26T21:15:00Z","cwe_ids":["CWE-74"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21278"},{"type":"WEB","url":"https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699d"},{"type":"PACKAGE","url":"https://github.com/DIYgod/RSSHub"},{"type":"WEB","url":"https://www.npmjs.com/package/rsshub"}],"affected":[{"package":{"name":"rsshub","ecosystem":"npm","purl":"pkg:npm/rsshub"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-pgjj-866w-fc5c/GHSA-pgjj-866w-fc5c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"}]}