First published: Mon May 05 2025(Updated: )
### 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.
Affected Software | Affected Version | How to fix |
---|---|---|
npm/@misskey-dev/summaly | >=3.0.1<5.2.1 | 5.2.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability GHSA-7899-w6c4-vqc4 is classified as a moderate severity issue due to the logic error affecting redirect options.
To fix GHSA-7899-w6c4-vqc4, update the @misskey-dev/summaly package to version 5.2.2 or later.
GHSA-7899-w6c4-vqc4 can lead to security risks from redirects not being enforced when using plugins.
GHSA-7899-w6c4-vqc4 affects @misskey-dev/summaly versions between 3.0.1 and 5.2.1, inclusive.
Yes, GHSA-7899-w6c4-vqc4 is a known vulnerability documented in GitHub advisories.