Skip to content
Fencer Vulns
medium 6.1

CVE-2020-25814 json

MediaWiki Cross-site Scripting (XSS) vulnerability

published 2020-09-27 6 y ago modified 2026-06-17 4 mo ago also BIT-mediawiki-2020-25814 , EUVD-2022-2452 , GHSA-4vr7-m8p8-434h

cvss
6.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 71%
public exploits
0
none known

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 <a> tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an <a href ="javascript... that executes when clicked.

Patch / fix

  • packagist mediawiki/core 1.31.9, 1.34.3, 1.35.0
  • bitnami mediawiki 1.31.10, 1.34.4
  • mediawiki mediawiki 1.31.10, 1.34.4
  • mediawiki Debian 14, Debian 13, Debian 12 1:1.35.0-1

debian advisories DEBIAN-CVE-2020-25814

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-25814 updated cvss 6.1

mediawiki: XSS via javascript:payload

  • Red Hat OpenShift Container Platform 3.11 mediawiki
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4 mediawiki
    affected: no fix planned “Out of support scope”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
OSV 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
packagist mediawiki/core
>=1.31.0, <1.31.9
>=1.32.0, <1.34.3
>=1.35.0-rc.0, <1.35.0
1.31.9
1.34.3
1.35.0
bitnami mediawiki
<1.31.10
>=1.32.0, <1.34.4
1.31.10
1.34.4

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.