RSSHub Cross-site Scripting vulnerability caused by internal media proxyGHSA-2wqw-hr4f-xrhh
MEDIUMFix: DIYgod/RSSHub@4d3e5d7GHSA-2wqw-hr4f-xrhh is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in rsshub. A fix is available for rsshub — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-2wqw-hr4f-xrhh.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
rsshubnpmDescription
RSSHub is an open source RSS feed generator. Starting in version 1.0.0-master.cbbd829 and prior to version 1.0.0-master.d8ca915, ahen the specially crafted image is supplied to the internal media proxy, it proxies the image without handling XSS vulnerabilities, allowing for the execution of arbitrary JavaScript code. Users who access the deliberately constructed URL are affected. This vulnerability was fixed in version 1.0.0-master.d8ca915. No known workarounds are available.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | rsshub | ≥ 1.0.0-master.cbbd829&&< 1.0.0-master.d8ca915 | 1.0.0-master.d8ca915npm install rsshub@1.0.0-master.d8ca915 |
Affected Products
rsshubrsshubDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rsshub, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update rsshub to 1.0.0-master.d8ca915 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-2wqw-hr4f-xrhh is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-2wqw-hr4f-xrhh in your dependencies?
Find it across npm, including transitive dependencies.