CVE-2025-46553: @misskey-dev/summaly Redirect Filter Bypass
Summary A logic error in the main summaly function causes the allowRedirects option to never be passed to any plugins, and as a result, isn't enforced. Details In the main summaly function, a new scrapingOptions object is created and passed to either the matched plugin, if any, or the default summarize function.
Published May 5, 2025
Affected packages
@misskey-dev/summaly
- Ecosystem
- npm
- Affected
- >= 3.0.1, < 5.2.1
- Fixed in
- 5.2.1
- Check
npm ls @misskey-dev/summaly
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A logic error in the main summaly function causes the allowRedirects option to never be passed to any plugins, and as a result, isn't enforced.
Details
In the main summaly function, a new scrapingOptions object is created and passed to either the matched plugin, if any, or the default summarize function. The issue here is that the new scrapingOptions object is not provided the allowRedirects property of opts.
PoC
- Publish a post containing a link to any URL that redirects on Misskey.
- A preview will be generated for the target of the redirect, despite Misskey passing
allowRedirects: false.
Impact
Misskey will follow redirects, despite explicitly requesting not to.
Credited to warriordog.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
