# CVE-2024-27927: RSSHub vulnerable to SSRF in /mastodon, /zjoi, and /m4

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.09% (percentile 65, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-3p3p-cgj7-vgw3
- **Published:** 2024-03-06T17:03:11.000Z
- **Modified:** 2026-09-10T03:50:09.989Z

## Who should check

- Projects that depend on npm package rsshub (\< 1.0.0-master.a429472)
- Anyone running DIYgod RSSHub \< 1.0.0-master.a429472

## 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

- npm `rsshub`: affected \< 1.0.0-master.a429472; fixed 1.0.0-master.a429472 (osv)
- DIYgod RSSHub: \< 1.0.0-master.a429472 (cvelist)

## Mitigation

- Upgrade rsshub to 1.0.0-master.a429472 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/DIYgod/RSSHub/security/advisories/GHSA-3p3p-cgj7-vgw3>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-27927>
- patch: <https://github.com/DIYgod/RSSHub/commit/a42947231104a9ec3436fc52cedb31740c9a7069>
- patch: <https://github.com/DIYgod/RSSHub/blob/172f6cfd2b69ea6affdbdedf61e6dde1671f3796/lib/routes/m4/index.js#L10-L14>
- patch: <https://github.com/DIYgod/RSSHub/blob/172f6cfd2b69ea6affdbdedf61e6dde1671f3796/lib/routes/zjol/paper.js#L7-L13>
- patch: <https://github.com/DIYgod/RSSHub/blob/5928c5db2472e101c2f5c3bafed77a2f72edd40a/lib/routes/mastodon/acct.js#L4-L7>
- patch: <https://github.com/DIYgod/RSSHub/blob/5928c5db2472e101c2f5c3bafed77a2f72edd40a/lib/routes/mastodon/utils.js#L85-L105>
- other: <https://github.com/DIYgod/RSSHub>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27927>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3p3p-cgj7-vgw3> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-27927> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27927>
