{"id":"CVE-2020-25814","published":"2020-09-27T20:29:44Z","modified":"2024-08-04T15:40:36Z","title":"In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0135,"percentile":0.72191,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mediawiki.jqueryMsg","tags":["x_refsource_MISC"]},{"url":"https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":14.44}]},"affected":[{"ecosystem":"Packagist","package":"mediawiki/core","vulnerableRanges":[">=1.31.0, <1.31.9",">=1.32.0, <1.34.3",">=1.35.0-rc.0, <1.35.0"],"patched":["1.31.9","1.34.3","1.35.0"],"from":["GHSA-4vr7-m8p8-434h"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in MediaWiki before 1.31.10 and in 1.32.x through 1.34.x before 1.34.4, where a message containing a javascript: link is turned into a jQuery object by mw.message().parse() and yields an anchor whose href executes script. An attacker who can supply such a message can get script to run when a user clicks the resulting link, so user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:45Z"},"euvd":{"id":"EUVD-2022-2452","exploited":false,"provenance":"source"}}