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.
Published: 2026-08-18
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw in the Leaflet service of the ProfessionalWiki Maps extension. It allows a wiki user with edit permission to store malicious HTML through the overlays parameter in the display_map parser function. When another user previews or views the map, the embedded script executes in their browser, giving the attacker the same privileges as the viewing user, such as accessing session data or performing authenticated actions.

Affected Systems

Affected installations are running the ProfessionalWiki Maps extension before version 12.1.3 on MediaWiki. The flaw is exposed in the display_map parser within the Leaflet service; any wiki that enables this extension and uses the overlays parameter in map pages is vulnerable.

Risk and Exploitability

The flaw is scored with a CVSS of 8.6, indicating high severity. EPSS is not available and the vulnerability is not listed in CISA KEV. Because the affected users must possess edit rights to inject the payload, the attack vector is a local stored XSS that requires an attacker to have a trusted editing role, but once the payload is stored, any user who views the map can be victimized. The exploit can lead to execution of arbitrary scripts with the victim’s session rights, posing a significant confidentiality and integrity risk.

Generated by OpenCVE AI on August 18, 2026 at 22:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the ProfessionalWiki Maps extension to version 12.1.3 or later, which removes the unescaped use of the overlays parameter.
  • Verify that the MediaWiki core and all other extensions are updated to their latest secure releases to prevent related regressions.
  • Audit existing map pages to clean or remove any manually inserted overlays containing untrusted content, and restrict edit permissions on map pages to trusted reviewers.

Generated by OpenCVE AI on August 18, 2026 at 22:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4h7g-5542-v3fc mediawiki/maps has stored XSS through the overlays parameter in the display_map parser function
History

Tue, 18 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title mediawiki/maps: Stored XSS through the overlays parameter in the display_map parser function
Weaknesses CWE-79
CWE-80
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T21:32:09.253Z

Reserved: 2026-06-08T18:41:27.724Z

Link: CVE-2026-52854

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T22:16:53.470

Modified: 2026-08-18T22:16:53.470

Link: CVE-2026-52854

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T22:30:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)