CVE-2026-52854

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

Published Aug 18, 2026 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a stored cross‑site scripting flaw in the Leaflet service of the ProfessionalWiki Maps extension. The display_map parser accepts attacker‑controlled HTML in the overlays parameter, and the overlay name is used directly as a Leaflet layer‑control label without escaping. This allows a wiki user with edit permission to store malicious wikitext that, when another user previews or views the map, executes embedded script in the viewing user's browser, giving the attacker the same privileges as the victim, 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.

Remediation

No solution or workaround provided in the CVE record.

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 19, 2026 at 09:06 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
Type Values Removed Values Added
First Time appeared Professionalwiki
Professionalwiki maps
Vendors & Products Professionalwiki
Professionalwiki maps
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

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)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 19, 2026, 6:33 PM
Reserved
Jun 8, 2026, 6:41 PM
Status
Deferred
Published
Aug 18, 2026, 10:16 PM
Modified
Oct 22, 2026, 5:09 PM