Skip to content
OpenAdvisories
High · 8.6 CVE-2026-52854 EUVD-2026-62200GHSA-4h7g-5542-v3fc

mediawiki/maps: Stored XSS through the overlays parameter in the display_map parser function

Published Aug 18, 2026 · Updated Aug 19, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
ProfessionalWiki Maps < 12.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 mediawiki No fix yet —
Ubuntu 26.04 LTS mediawiki No fix yet —
Ubuntu 18.04 LTS mediawiki No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS mediawiki No fix yet —
Ubuntu Pro 22.04 LTS mediawiki No fix yet —
Ubuntu Pro 20.04 LTS mediawiki No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mediawiki/maps < 12.1.3 12.1.3 GHSA-4h7g-5542-v3fc

References