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

exploitDog

github логотип

GHSA-c29q-5xm7-5p62

Опубликовано: 19 июн. 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

StarCitizenWiki Extension Embed Video: Stored XSS via unsanitized service name in exception text

Summary

When passing an unknown service name to embedvideo, an error message is rendered containing the invalid service name. The service name is not sanitized and can contain HTML.

Details

There is a hardcoded list of allowed services in a switch statement inside EmbedServiceFactory#newFromName here. When the service name is not known, an exception is thrown with the service name injected into the message via sprintf here. This message is not sanitized and is marked as isHtml here. Similarly with {{evl: here.

PoC

// Must be on a page, not on ExpandTemplates {{#ev:<img src=x onerror=alert(document.domain)>|dQw4w9WgXcQ}} {{#evl:id=dummy|service=<img src=x onerror=alert(document.domain)>}}

Impact

Stored XSS that allows arbitrary Javascript/HTML insertion on any page that a user can edit. It requires no interaction and executes in the wiki origin for every visitor to the page.

Пакеты

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

starcitizenwiki/embedvideo

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

<= 4.0.0

4.1.0

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-79
CWE-80

EPSS

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

7.5 High

CVSS3

Дефекты

CWE-79
CWE-80