Loading...
Skip to main content

CVE-2026-52854 — Vulnerability in mediawiki/maps — CVE Details

HIGH

mediawiki/maps has stored XSS through the overlays parameter in the display_map parser function

Published July 2, 2026Updated September 10, 2026Source: osv

Summary

### Summary Stored XSS through wikitext can be performed by inserting malicious HTML into the `overlays` parameter of the `display_map` parser function when using the leaflet service. ### Details The maps extension doesn't escape overlay names before passing them to leaflet. Leaflet then inserts them as HTML: https://github.com/ProfessionalWiki/Maps/blob/ca5139fabd75f3c34f47ea3fd161306506b053bc/resources/lib/leaflet/leaflet.js#L5243 ### PoC Preview the following wikitext, using the default configuration options of the extension: ``` {{#display_map:0,0|service=leaflet|overlays=OpenTopoMap.<img src=x onerror="alert(1);">}} ``` ### Impact Stored XSS can be performed by any user with the `edit` permission.

Advisory Timeline

  • First published July 2, 2026 (102 days ago).
  • Last revised September 10, 2026 — 69 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update mediawiki/maps to 12.1.3 or later
composer require "mediawiki/maps:^12.1.3"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
mediawiki/maps
packagist
10.0.0, 10.1.0, 10.1.1, 10.1.2 (+110 more)12.1.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Frequently Asked Questions

What is CVE-2026-52854?
mediawiki/maps has stored XSS through the overlays parameter in the display_map parser function This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
How do I check if my project is affected by CVE-2026-52854?
CVE-2026-52854 affects mediawiki/maps. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-52854 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-4h7g-5542-v3fc

Related CVEs

  • CVE-2026-65954
    HIGH

    PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()

  • CVE-2026-61825
    HIGH

    code16/sharp has a stored XSS via data-html-content Sanitizer Bypass

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies