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

exploitDog

github логотип

GHSA-4h7g-5542-v3fc

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

Описание

mediawiki/maps has stored XSS through the overlays parameter in the display_map parser function

Summary

Stored XSS through wikitext can be performed by inserting malicious HTML into the overlays parameter of the display_map parser function when using the leaflet service.

Details

The maps extension doesn't escape overlay names before passing them to leaflet. Leaflet then inserts them as HTML: https://github.com/ProfessionalWiki/Maps/blob/ca5139fabd75f3c34f47ea3fd161306506b053bc/resources/lib/leaflet/leaflet.js#L5243

PoC

Preview the following wikitext, using the default configuration options of the extension:

{{#display_map:0,0|service=leaflet|overlays=OpenTopoMap.<img src=x onerror="alert(1);">}}

Impact

Stored XSS can be performed by any user with the edit permission.

Пакеты

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

mediawiki/maps

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

< 12.1.3

12.1.3

EPSS

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

8.6 High

CVSS3

Дефекты

CWE-79
CWE-80

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

CVSS3: 8.6
ubuntu
20 дней назад

Maps is a MediaWiki extension that enables visualization of geographic data through dynamic embedded maps. Prior to version 12.1.3, the display_map parser function in the Leaflet service accepts attacker-controlled HTML in the overlays parameter, and resources/leaflet/jquery.leaflet.js uses the overlay name as a Leaflet layer-control label without escaping it. A wiki user with the edit permission can store malicious wikitext that causes script execution when another user previews or views the affected map. The script executes in the viewing user's browser session and can access data or perform actions available to that user. This issue is fixed in version 12.1.3.

CVSS3: 8.6
nvd
20 дней назад

Maps is a MediaWiki extension that enables visualization of geographic data through dynamic embedded maps. Prior to version 12.1.3, the display_map parser function in the Leaflet service accepts attacker-controlled HTML in the overlays parameter, and resources/leaflet/jquery.leaflet.js uses the overlay name as a Leaflet layer-control label without escaping it. A wiki user with the edit permission can store malicious wikitext that causes script execution when another user previews or views the affected map. The script executes in the viewing user's browser session and can access data or perform actions available to that user. This issue is fixed in version 12.1.3.

EPSS

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

8.6 High

CVSS3

Дефекты

CWE-79
CWE-80