Skip to content

rsshub vulnerable to Cross-site Scripting via unvalidated URL parameters

Moderate severity GitHub Reviewed Published Feb 28, 2023 in DIYgod/RSSHub • Updated Mar 13, 2023

Package

npm rsshub (npm)

Affected versions

< 1.0.0-master.c910c4d

Patched versions

1.0.0-master.c910c4d

Description

Impact

When the URL parameters contain certain special characters, it returns an error page that does not properly handle XSS vulnerabilities, allowing for the execution of arbitrary JavaScript code.

Users who access the deliberately constructed URL are affected.

Patches

This vulnerability was fixed in version c910c4d28717fb860fbe064736641f379fab2c91. Please upgrade to this or a later version.

Workarounds

No.

References

@DIYgod DIYgod published to DIYgod/RSSHub Feb 28, 2023
Published to the GitHub Advisory Database Mar 1, 2023
Reviewed Mar 1, 2023
Published by the National Vulnerability Database Mar 3, 2023
Last updated Mar 13, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2023-26491

GHSA ID

GHSA-32gr-4cq6-5w5q

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.