Skip to content
Heist/ feed
Back to feed
High

mediawiki/maps: Stored XSS through the overlays parameter in the display_map parser function

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-52854
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:13 UTC · Revision 1

Source evidence

mediawiki/maps: Stored XSS through the overlays parameter in the display_map parser function

core-osv · Original source

Published 18 Aug 2026, 21:32 UTC

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.

osv:CVE-2026-52854
Complete source record
{
  "id": "cdd9467ebd311ed1635697ea2a283bbc7d3cdcc3c66d63439f9c271f21199669",
  "url": "https://osv.dev/vulnerability/CVE-2026-52854",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mediawiki/maps: Stored XSS through the overlays parameter in the display_map parser function",
    "summary": "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.",
    "evidence": "osv:CVE-2026-52854",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-52854",
      "aliases": [
        "CVE-2026-52854",
        "GHSA-4h7g-5542-v3fc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/professionalwiki/maps",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "38b2f1284aeff8c70338aa0639110669a365dba6"
                },
                {
                  "fixed": "737a993fc2f40499e9bb22198fd1d56c25613806"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "12.1.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "737a993fc2f40499e9bb22198fd1d56c25613806"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "38b2f1284aeff8c70338aa0639110669a365dba6"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "12.1.3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "12.1.2",
            "12.1.1",
            "12.1.0",
            "12.0.0",
            "11.0.1",
            "11.0.0",
            "10.3.0",
            "10.2.0",
            "10.1.1",
            "10.1.0",
            "10.0.0",
            "9.0.7",
            "9.0.6",
            "9.0.5",
            "9.0.4",
            "9.0.3",
            "9.0.2",
            "9.0.1",
            "9.0.0",
            "8.0.0",
            "7.20.1",
            "7.19.0",
            "7.18.0",
            "7.17.2",
            "7.17.1",
            "7.17.0",
            "7.16.0",
            "7.15.6",
            "7.15.5",
            "7.15.4",
            "7.15.3",
            "7.15.2",
            "7.15.1",
            "7.15.0",
            "7.14.0",
            "7.13.0",
            "7.12.2",
            "7.12.1",
            "7.12.0",
            "7.11.0",
            "7.10.0",
            "7.9.0",
            "7.8.3",
            "7.8.2",
            "7.8.1",
            "7.8.0",
            "7.7.0",
            "7.6.0",
            "7.5.0",
            "7.4.1",
            "7.4.0",
            "7.3.3",
            "7.3.2",
            "7.3.1",
            "7.3.0",
            "7.2.0",
            "7.1.0",
            "7.0.0",
            "6.3.0",
            "6.2.2",
            "6.2.1",
            "6.2.0",
            "6.1.0",
            "6.0.4",
            "6.0.3",
            "6.0.2",
            "6.0.1",
            "6.0.0",
            "5.6.0",
            "5.5.5",
            "5.5.4",
            "5.5.3",
            "5.5.2",
            "5.5.1",
            "5.5.0",
            "5.4.0",
            "5.3.0",
            "5.2.0",
            "5.1.0",
            "5.0.2",
            "5.0.1",
            "5.0.0",
            "4.4.0",
            "4.3.0",
            "4.2.1",
            "4.2.0",
            "4.1.0",
            "4.0.5",
            "4.0.4",
            "4.0.2",
            "4.0.1",
            "4.0.0",
            "4.0.0-RC1",
            "3.8.1",
            "3.8.0",
            "3.7.0",
            "3.6.0",
            "3.5.0",
            "3.4.1",
            "3.4.0",
            "3.3.0",
            "3.2.4",
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1",
            "3.0.1",
            "3.0",
            "3.0-RC2",
            "2.0rc1",
            "1.0.5",
            "0.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52854.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.459653656Z",
      "provider": "osv",
      "references": [
        "https://github.com/ProfessionalWiki/Maps/blob/12.1.3/RELEASE-NOTES.md",
        "https://github.com/ProfessionalWiki/Maps/releases/tag/12.1.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52854.json",
        "https://github.com/ProfessionalWiki/Maps/security/advisories/GHSA-4h7g-5542-v3fc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-52854",
        "https://github.com/ProfessionalWiki/Maps/commit/737a993fc2f40499e9bb22198fd1d56c25613806",
        "https://github.com/ProfessionalWiki/Maps/pull/899"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79",
          "CWE-80"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52854.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-52854",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492136,
  "published_at": "2026-08-18T21:32:09.253+00:00"
}