CVE-2026-52854mediawiki/maps: Stored XSS through the overlays parameter in the display_map parser…
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.
What to do
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mediawiki | Fix pending | UBUNTU-CVE-2026-52854 | |
| Ubuntu 26.04 | mediawiki | Under investigation | UBUNTU-CVE-2026-52854 | |
| Ubuntu 24.04 | mediawiki | Fix pending | UBUNTU-CVE-2026-52854 | |
| Ubuntu 22.04 | mediawiki | Fix pending | UBUNTU-CVE-2026-52854 | |
| Ubuntu 20.04 | mediawiki | Fix pending | UBUNTU-CVE-2026-52854 | |
| Ubuntu 18.04 | mediawiki | Fix pending | UBUNTU-CVE-2026-52854 | |
| Packagist library | mediawiki/maps | Fixed | 12.1.3 | GHSA-4h7g-5542-v3fc |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ProfessionalWiki Maps: affected: < 12.1.3
References
- https://github.com/ProfessionalWiki/Maps/security/advisories/GHSA-4h7g-5542-v3fc
- https://github.com/ProfessionalWiki/Maps/pull/899
- https://github.com/ProfessionalWiki/Maps/commit/737a993fc2f40499e9bb22198fd1d56c25613806
- https://github.com/ProfessionalWiki/Maps/blob/12.1.3/RELEASE-NOTES.md
- https://github.com/ProfessionalWiki/Maps/releases/tag/12.1.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.