GitHub Advisoryadvisory · npm

GHSA-7899-w6c4-vqc4 @misskey-dev/summaly Redirect Filter Bypass

LOW Published 2025-05-05 Modified 2025-05-05 Official page ↗
Aliases
CVE-2025-46553
Ecosystem
npm
Packages
@misskey-dev/summaly
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:P
Weaknesses
CWE-601, CWE-665, CWE-669, CWE-693
Reviewed
2025-05-05

Affected packages

• npm @misskey-dev/summaly: >= 3.0.1, < 5.2.1 → fixed in 5.2.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-46553 @misskey-dev/summaly is a tool for getting a summary of a web page. vulnerability

Weakness · CWE (4)

  • CWE-601 URL Redirection to Untrusted Site weakness
  • CWE-665 Improper Initialization weakness
  • CWE-669 Incorrect Resource Transfer Between Spheres weakness
  • CWE-693 Protection Mechanism Failure weakness

References