{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2021-01-25"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7f1c430"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7f1c43094e8a82e4d8f036ff7d42568fed00699d"
            }
          ],
          "repo": "https://github.com/diygod/rsshub",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7f1c43094e8a82e4d8f036ff7d42568fed00699d"
            }
          ],
          "repo": "https://github.com/diygod/rsshub",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2021-21278",
  "modified": "2026-03-15T21:44:42.174765313Z",
  "published": "2021-01-26T21:15:12.673Z",
  "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"
    }
  ],
  "related": [
    "GHSA-pgjj-866w-fc5c"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}