Advisory

GHSA-7899-w6c4-vqc4

Also known as: CVE-2025-46553

Summary

@misskey-dev/summaly Redirect Filter Bypass

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-05-05 17:03 UTC
Modified
2025-05-05 22:06 UTC

Affected packages and fixes

@misskey-dev/summaly

npm · All systems

Affected

  • introduced 3.0.1, fixed 5.2.1 (semver)

Fixed versions

5.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences