Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7899-w6c4-vqc4

Опубликовано: 05 мая 2025
Источник: github
Github: Прошло ревью
CVSS4: 2.1

Описание

@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. 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.

Пакеты

Наименование

@misskey-dev/summaly

npm
Затронутые версииВерсия исправления

>= 3.0.1, < 5.2.1

5.2.1

EPSS

Процентиль: 24%
0.00081
Низкий

2.1 Low

CVSS4

Дефекты

CWE-601
CWE-665
CWE-669
CWE-693

Связанные уязвимости

CVSS3: 6.1
nvd
9 месяцев назад

@misskey-dev/summaly is a tool for getting a summary of a web page. Starting in version 3.0.1 and prior to version 5.2.1, 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. Misskey will follow redirects, despite explicitly requesting not to. Version 5.2.1 contains a patch for the issue.

EPSS

Процентиль: 24%
0.00081
Низкий

2.1 Low

CVSS4

Дефекты

CWE-601
CWE-665
CWE-669
CWE-693