ProfessionalWiki Maps
mediawiki/maps: Stored XSS through the overlays parameter in the display_map parser function
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 12.1.3
Fixed in 12.1.3
Mitigation
Upgrade Maps to 12.1.3 or later.
References
- Vendor advisory github.com/ProfessionalWiki/Maps/security/advi…
- Patch github.com/ProfessionalWiki/Maps/pull/899
- Patch github.com/ProfessionalWiki/Maps/commit/737a99…
1 more
- Release notes github.com/ProfessionalWiki/Maps/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.