Summary
CVE-2026-52854 is a stored cross-site scripting (XSS) vulnerability in the Maps extension for MediaWiki, developed by ProfessionalWiki, which is used to render geographic maps from wikitext via the Leaflet mapping service. The flaw allows a wiki user with edit permission to inject executable script that runs in the browser of any user who subsequently views or previews the affected map. It carries a HIGH severity rating (CVSS 8.6) and affects all versions prior to 12.1.3.
Technical details
- Root cause: the
display_mapparser function’soverlaysparameter accepts attacker-controlled HTML, and the bundledresources/leaflet/jquery.leaflet.jsscript uses the overlay name directly as a Leaflet layer-control label without HTML-escaping it. - Trigger conditions: an authenticated wiki user with standard edit permission crafts wikitext such as
{{#display_map:0,0|service=leaflet|overlays=OpenTopoMap.<img src=x onerror="alert(1);">}}and saves or previews the page. - Attack vector: Network — exploitation requires no special privileges beyond edit access and no interaction from the victim beyond viewing the page.
- Impact: script executes in the viewing user’s session, potentially allowing session hijacking, credential theft, or unauthorized actions performed as that user (High confidentiality impact, Low integrity/availability impact per CVSS vector).
Affected software
- ProfessionalWiki Maps MediaWiki extension — all versions prior to 12.1.3
Severity
- CVSS v3.1 Base Score: 8.6 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Mitigation and recommended actions
- Immediate: Upgrade the Maps extension to version 12.1.3 or later, which escapes overlay names before rendering them as Leaflet layer-control labels.
- If immediate patching isn’t possible: restrict wiki edit permissions to trusted users only, and disable or avoid use of the
display_mapparser function’soverlaysparameter until patched.
How IONIX identifies potentially affected assets
IONIX matches the following signal against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body:
egMapsScriptPathfollowed by a colon or equals sign.

