{"id":"CVE-2020-25814","aliases":["CVE-2020-25814","GHSA-4vr7-m8p8-434h","BIT-MEDIAWIKI-2020-25814"],"related":[],"kind":"vulnerability","state":"published","title":"MediaWiki Cross-site Scripting (XSS) vulnerability","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"In MediaWiki before 1.31.9 and 1.32.x through 1.34.x before 1.34.3, 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En MediaWiki versiones anteriores a 1.31.10 y desde 1.32.x hasta 1.34.x anteriores a 1.34.4, puede ocurrir un ataque de tipo XSS relacionado con jQuery.&#xa0;El atacante crea un mensaje con [javascript:payload xss] y lo convierte en un objeto jQuery con mw.message().parse().&#xa0;El resultado esperado es que el objeto jQuery no contiene una etiqueta (a) (o no tiene un atributo href, o está vacío, etc.).&#xa0;El resultado real es que el objeto contiene un (a href =\"javascript... que se ejecuta cuando se cliquea","source":"nvd"}],"published":"2020-09-27T20:29:44.000Z","modified":"2026-06-17T03:07:20.177Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.31.0","status":"affected","fixed":"1.31.9"}],"ecosystem":"Packagist","package":"mediawiki/core","purl":"pkg:composer/mediawiki/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.32.0","status":"affected","fixed":"1.34.3"}],"ecosystem":"Packagist","package":"mediawiki/core","purl":"pkg:composer/mediawiki/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.35.0-rc.0","status":"affected","fixed":"1.35.0"}],"ecosystem":"Packagist","package":"mediawiki/core","purl":"pkg:composer/mediawiki/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.31.10"},{"status":"affected","introduced":"1.32.0","fixed":"1.34.4"}],"vendor":"mediawiki","product":"mediawiki","cpe":"cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.31.10"},{"type":"semver","introduced":"1.32.0","status":"affected","fixed":"1.34.4"}],"ecosystem":"Bitnami","package":"mediawiki","purl":"pkg:bitnami/mediawiki","source":"bitnami"}],"references":[{"url":"https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mediawiki.jqueryMsg","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html","tags":["mailing-list","release-notes","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html","tags":["mailing-list","release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25814","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-25814.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/wikimedia/mediawiki","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6","tags":["web"],"sources":["ghsa"]},{"url":"https://phabricator.wikimedia.org/T86738","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-25814","url":"https://www.cve.org/CVERecord?id=CVE-2020-25814","licence":"CVE Terms of Use","modified":"2024-08-04T15:40:36.987Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4vr7-m8p8-434h","url":"https://github.com/advisories/GHSA-4vr7-m8p8-434h","licence":"CC-BY-4.0","modified":"2024-05-19T02:24:07.692Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25814","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25814","licence":"Public domain","modified":"2026-06-17T03:07:20.177Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MEDIAWIKI-2020-25814","url":"https://osv.dev/vulnerability/BIT-MEDIAWIKI-2020-25814","licence":"Apache-2.0","modified":"2025-04-03T14:40:37.652Z"}],"updatedAt":"2026-11-25T22:57:54.965Z","epss":{"score":0.0135,"percentile":0.72306,"date":"2026-12-01T12:00:22.000Z"}}