Skip to main content
EPSS 0.6%top 51%

Maps is a MediaWiki extension that enables visualization of geographic data through dynamic embedded maps. (CVE-2026-52854)

0
High
Published: 08/20/2026 (08/20/2026, 00:00:00 UTC)
Source: GCVE Database
Product: mediawiki

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.

CVSS v3.1

Score 8.6high

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

Affected software

Packagistghsa
mediawiki/maps
Affected versions
<12.1.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 11:10:29 UTC

Technical Analysis

The mediawiki/maps extension contains a stored XSS vulnerability (CVE-2026-52854) due to failure to escape overlay names before passing them to the leaflet JavaScript library. Leaflet inserts these overlay names as HTML without sanitization, enabling stored XSS via the overlays parameter of the display_map parser function. This can be exploited by any user with edit permissions by injecting malicious HTML payloads into wikitext overlays, which are then rendered and executed in users' browsers.

Potential Impact

Successful exploitation allows an attacker with edit permissions to inject and execute arbitrary JavaScript code in the context of the MediaWiki site. This can lead to session hijacking, defacement, or other malicious actions affecting users who view the injected content. The vulnerability has a high severity score (CVSS 8.6) reflecting its network attack vector, low complexity, no user interaction, and high confidentiality impact.

Mitigation Recommendations

An official patch is available that fixes this vulnerability. Users should upgrade mediawiki/maps to version 12.1.3 or later to remediate this issue. Until patched, restrict edit permissions to trusted users to reduce the risk of exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4h7g-5542-v3fc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-52854"]
Ecosystems
["Packagist"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a46ecc327e9c7971943d5cc

Added to database: 07/02/2026, 22:57:07 UTC

Last enriched: 08/19/2026, 11:10:29 UTC

Last updated: 09/12/2026, 10:01:31 UTC

Views: 114

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses