Medium

RSSHub vulnerable to Server-Side Request Forgery

  • Disclosed: 06.03.2024
  • Updated: 11.10.2026 10:22

Summary

Serveral Server-Side Request Forgery (SSRF) vulnerabilities in RSSHub allow remote attackers to use the server as a proxy to send HTTP GET requests to arbitrary targets and retrieve information in the internal network or conduct Denial-of-Service (DoS) attacks.

Details

/mastodon/acct/:acct/statuses/:only_media?

https://github.com/DIYgod/RSSHub/blob/5928c5db2472e101c2f5c3bafed77a2f72edd40a/lib/routes/mastodon/acct.js#L4-L7

https://github.com/DIYgod/RSSHub/blob/5928c5db2472e101c2f5c3bafed77a2f72edd40a/lib/routes/mastodon/utils.js#L85-L105

/zjol/paper/:id?

https://github.com/DIYgod/RSSHub/blob/172f6cfd2b69ea6affdbdedf61e6dde1671f3796/lib/routes/zjol/paper.js#L7-L13

/m4/:id?/:category*

https://github.com/DIYgod/RSSHub/blob/172f6cfd2b69ea6affdbdedf61e6dde1671f3796/lib/routes/m4/index.js#L10-L14

PoC

Impact

The attacker can send malicious requests to a RSSHub server, to make the server send HTTP GET requests to arbitrary destinations and see partial responses. This may lead to:

  1. Leak the server IP address, which could be hidden behind a CDN.
  2. Retrieve information in the internal network. e.g. which addresses/ports are accessible, the titles and meta descriptions of HTML pages.
  3. DoS amplification. The attacker could request the server to download some large files, or chain several SSRF requests in a single attacker request: https://rsshub.a.com/zjol/paper/rsshub.b.net%2Fzjol%2Fpaper%2Frsshub.a.com%252Fzjol%252Fpaper%252Frsshub.b.net%25252Fzjol%25252Fpaper%25252Frsshub.a.com%2525252Fzjol%2525252Fpaper%2525252Fexample.com%2525252523%25252523%252523%2523%23.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package rsshub < 1.0.0-master.a429472 1.0.0-master.a429472

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Weakness (CWE)
CWE-918
Platform
npm
Package
rsshub
Disclosed
06.03.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-3p3p-cgj7-vgw3 - CC BY 4.0

Vulnerability history: rsshub

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
10.2021 03.2024
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 4

Disclosures per year

  1. 2021: 1
  2. 2022: 1
  3. 2023: 2
  4. 2024: 2
  5. 2025: 0
  6. 2026: 0
  1. RSSHub vulnerable to Server-Side Request Forgery this entry
    Medium · 6.5 CVE-2024-27927 < 1.0.0-master.a429472 1.0.0-master.a429472
  2. Medium · 6.1 CVE-2024-27926 >= 1.0.0-master.cbbd829, < 1.0.0-master.d8ca915 1.0.0-master.d8ca915
  3. Medium · 6.1 CVE-2023-26491 < 1.0.0-master.c910c4d 1.0.0-master.c910c4d
  4. High · 8.8 CVE-2023-22493 < 1.0.0-master.a66cbcf 1.0.0-master.a66cbcf
  5. Medium · 5.3 CVE-2022-31110 <= 1.0.0 no fix
  6. High · 8.6 CVE-2021-21278 <= 1.0.0 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.