Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-25814

In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an

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

Source evidence

CVE-2020-25814

core-osv · Original source

Published 27 Sept 2020, 21:15 UTC

In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an

osv:CVE-2020-25814
Complete source record
{
  "id": "b8bdb37af70c0996ed2e40577751945b80414f07e0eb08eac539e61bc10d60b8",
  "url": "https://osv.dev/vulnerability/CVE-2020-25814",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-25814",
    "summary": "In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an",
    "evidence": "osv:CVE-2020-25814",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-25814",
      "aliases": [
        "BIT-mediawiki-2020-25814",
        "CVE-2020-25814",
        "GHSA-4vr7-m8p8-434h"
      ],
      "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": "0"
                },
                {
                  "fixed": "0fa7240e6a81be24dc0eb3c250ec2a25a2099faa"
                },
                {
                  "introduced": "0fbb878ef366477535a709b0c2564bdcf4b176d1"
                },
                {
                  "fixed": "e34e7f20b51ed7514ba6de8d8a390363ade2237f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.31.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.32.0"
                      },
                      {
                        "fixed": "1.34.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.31.8",
            "1.34.3",
            "1.31.9",
            "1.34.2",
            "1.34.1",
            "1.31.7",
            "1.34.0",
            "1.31.6",
            "1.34.0-rc.1",
            "1.31.5",
            "1.34.0-rc.0",
            "1.31.4",
            "1.31.3",
            "1.31.2",
            "1.31.1",
            "1.31.0",
            "1.31.0-rc.2",
            "1.31.0-rc.1",
            "1.31.0-rc.0",
            "test-hashar-for-ci",
            "1.6.0",
            "1.5.0beta4",
            "1.5.0beta3",
            "1.5.0beta2",
            "1.5.0beta1",
            "1.5.0alpha2",
            "1.5.0alpha1",
            "1.3.0beta1",
            "1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25814.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:46.868751984Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/",
        "https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html",
        "https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html",
        "https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mediawiki.jqueryMsg"
      ],
      "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-25814",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436427,
  "published_at": "2020-09-27T21:15:12.687+00:00"
}