---
id: CVE-2026-52854
title: >-
  Maps is a MediaWiki extension that enables visualization of geographic data
  through dynamic embedded maps
summary: >-
  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 p…
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L'
cwe:
  - CWE-79
  - CWE-80
vendor: mediawiki
product: mediawiki/maps
affected:
  - mediawiki/maps < 12.1.3
patched:
  - mediawiki/maps 12.1.3
published: '2026-08-18'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:13:25.910'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52854'
references:
  - url: 'https://github.com/ProfessionalWiki/Maps/blob/12.1.3/RELEASE-NOTES.md'
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProfessionalWiki/Maps/commit/737a993fc2f40499e9bb22198fd1d56c25613806
    label: security-advisories@github.com
  - url: 'https://github.com/ProfessionalWiki/Maps/pull/899'
    label: security-advisories@github.com
  - url: 'https://github.com/ProfessionalWiki/Maps/releases/tag/12.1.3'
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProfessionalWiki/Maps/security/advisories/GHSA-4h7g-5542-v3fc
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProfessionalWiki/Maps/security/advisories/GHSA-4h7g-5542-v3fc
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-4h7g-5542-v3fc'
tags:
  - nvd
  - ghsa
  - composer
epss: 0.00578
epssPercentile: 0.4517
ecosystem: composer
ingestedAt: '2026-07-02T18:41:45.702Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-52854)

Affected packages:

- `mediawiki/maps < 12.1.3`

Patched in:

- `mediawiki/maps 12.1.3`

Source: https://github.com/advisories/GHSA-4h7g-5542-v3fc
