CVE-2024-27927
RSSHub vulnerable to SSRF in /mastodon, /zjoi, and /m4
Also known as GHSA-3p3p-cgj7-vgw3
Mitigation
- Upgrade rsshub to 1.0.0-master.a429472 or later.
Who should check
- Projects that depend on npm package rsshub (< 1.0.0-master.a429472)
- Anyone running DIYgod RSSHub < 1.0.0-master.a429472
Vulnerability facts
- Affected
- rsshub < 1.0.0-master.a429472
- Fixed in
- 1.0.0-master.a429472
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: Low
- EPSS
- 1.09% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- CWE
- CWE-918
- Modified
Description
RSSHub is an open source RSS feed generator. Prior to version 1.0.0-master.a429472, RSSHub allows 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. 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 leak the server IP address, which could be hidden behind a CDN; retrieving information in the internal network, e.g. which addresses/ports are accessible, the titles and meta descriptions of HTML pages; and denial of service amplification. The attacker could request the server to download some large files, or chain several SSRF requests in a single attacker request.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-27927. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-27927.md Affected: rsshub < 1.0.0-master.a429472 Fixed in: 1.0.0-master.a429472 Steps: 1. Search this machine and project for rsshub (npm), DIYgod RSSHub: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/DIYgod/RSSHub/commit/a42947231104a9ec3436fc52cedb31740c9a7069
- https://github.com/DIYgod/RSSHub/blob/172f6cfd2b69ea6affdbdedf61e6dde1671f3796/lib/routes/m4/index.js#L10-L14
- https://github.com/DIYgod/RSSHub/blob/172f6cfd2b69ea6affdbdedf61e6dde1671f3796/lib/routes/zjol/paper.js#L7-L13
- 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
FAQ
Is CVE-2024-27927 being exploited?
There is no confirmed exploitation: CVE-2024-27927 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-27927?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-27927?
rsshub < 1.0.0-master.a429472.
Is there a fix for CVE-2024-27927?
Yes. Fixed in 1.0.0-master.a429472. Upgrade rsshub to 1.0.0-master.a429472 or later.
How do I check if I'm affected by CVE-2024-27927?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.