Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-25812

An issue was discovered in MediaWiki 1.34.x before 1.34.4. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-25812
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:16 UTC · Revision 1

Source evidence

CVE-2020-25812

core-osv · Original source

Published 27 Sept 2020, 21:15 UTC

An issue was discovered in MediaWiki 1.34.x before 1.34.4. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.

osv:CVE-2020-25812
Complete source record
{
  "id": "55dff456586bd9df594ceea049bedbf36822f714224955255cb74ecbcb1ab54e",
  "url": "https://osv.dev/vulnerability/CVE-2020-25812",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-25812",
    "summary": "An issue was discovered in MediaWiki 1.34.x before 1.34.4. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.",
    "evidence": "osv:CVE-2020-25812",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-25812",
      "aliases": [
        "BIT-mediawiki-2020-25812",
        "CVE-2020-25812",
        "GHSA-rj9p-8jxj-2ch4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "29977ebe4c05cab4cac46fd1a8459e27f50fb153"
                },
                {
                  "fixed": "e34e7f20b51ed7514ba6de8d8a390363ade2237f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.34.0"
                      },
                      {
                        "fixed": "1.34.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.34.3",
            "1.34.2",
            "1.34.1",
            "1.34.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25812.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:26.446408131Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/",
        "https://gerrit.wikimedia.org/g/mediawiki/core/+/ad4a3ba45fb955aa8c0eb3c83809b16b40a498b9/includes/specials/SpecialContributions.php#592",
        "https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html",
        "https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-25812",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431613,
  "published_at": "2020-09-27T21:15:12.563+00:00"
}