{"id":"CVE-2023-3550","aliases":["BIT-mediawiki-2023-3550","DEBIAN-CVE-2023-3550","DLA-3671-1","DSA-5520-1","EUVD-2023-44206","GHSA-4pqg-hr8r-h5cw","MGASA-2024-0155","UBUNTU-CVE-2023-3550"],"status":"published","title":"Stored XSS leads to privilege escalation in MediaWiki v1.40.0","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.\n\nTherefore, if the instance administrator allows XML file uploads,\n\na remote attacker with a low-privileged user account can use this\n\nexploit to become an administrator by sending a malicious link to\n\nthe instance administrator.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0138,"percentile":0.72312,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-09-25T15:20:27Z","modified":"2026-10-28T02:30:40Z","fixes":[{"ecosystem":"Bitnami","package":"mediawiki","fixed_in":["1.40.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mediawiki","fixed_in":["1:1.39.5-1~deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mediawiki","fixed_in":["1:1.39.5-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mediawiki","fixed_in":["1:1.39.5-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"mediawiki/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.40.0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"mediawiki","ranges":[{"type":"SEMVER","events":[{"introduced":"1.40.0"},{"fixed":"1.40.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.39.5-1~deb12u1"}]}],"versions":["1:1.39.2-1","1:1.39.4-1","1:1.39.4-1~deb12u1","1:1.39.4-2"]},{"source":"osv","ecosystem":"Debian:13","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.39.5-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.39.5-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.31.16-1+deb10u7"}]}],"versions":["1:1.31.10-1~deb10u1","1:1.31.12-1~deb10u1","1:1.31.14-1~deb10u1","1:1.31.16-1+deb10u2","1:1.31.16-1+deb10u3","1:1.31.16-1+deb10u4","1:1.31.16-1+deb10u5","1:1.31.16-1+deb10u6","1:1.31.16-1~deb10u1","1:1.31.2-1","1:1.31.4-1","1:1.31.4-1~deb10u1","1:1.31.5-1","1:1.31.5-2","1:1.31.5-3","1:1.31.6-1","1:1.31.6-1~deb10u1","1:1.31.7-1","1:1.31.7-1~deb10u1","1:1.31.8-1"],"bundled":3},{"source":"osv","ecosystem":"Debian:11","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.35.13-1~deb11u1"}]}],"versions":["1:1.35.11-1~deb11u1","1:1.35.2-1","1:1.35.3-1","1:1.35.4-1","1:1.35.4-1+deb11u2","1:1.35.4-1~deb11u1","1:1.35.5-1","1:1.35.5-2","1:1.35.6-1","1:1.35.7-1","1:1.35.8-1","1:1.35.8-1.1","1:1.35.8-1~deb11u1"],"bundled":4},{"source":"osv","ecosystem":"Debian:12","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.39.5-1~deb12u1"}]}],"versions":["1:1.39.2-1","1:1.39.4-1","1:1.39.4-1~deb12u1","1:1.39.4-2"],"bundled":4},{"source":"osv","ecosystem":"Mageia:9","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35.14-1.mga9"}]}],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.27.3-1","1:1.27.4-1","1:1.27.4-2","1:1.27.4-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.31.2-1ubuntu1","1:1.31.5-1","1:1.31.5-1ubuntu1","1:1.31.5-2","1:1.31.5-3","1:1.31.5-3ubuntu1","1:1.31.6-1","1:1.31.7-1","1:1.31.7-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.35.3-1","1:1.35.4-1","1:1.35.5-1","1:1.35.5-1ubuntu1","1:1.35.5-1ubuntu2","1:1.35.5-1ubuntu3","1:1.35.6-1","1:1.35.6-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.39.4-2","1:1.39.5-1","1:1.39.6-1","1:1.39.7-1","1:1.39.7-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.43.1+dfsg-1","1:1.43.1+dfsg-2","1:1.43.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.43.8+dfsg-2","1:1.43.9+dfsg-1","1:1.43.9+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.43.3+dfsg-1","1:1.43.5+dfsg-1","1:1.43.6+dfsg-2","1:1.43.8+dfsg-1","1:1.43.8+dfsg-2"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"mediawiki","product":"mediawiki"},{"vendor":"wikimedia foundation","product":"mediawiki"}],"references":[{"url":"https://fluidattacks.com/advisories/blondie/","tags":["x_transferred","Exploit","Third Party Advisory","web","advisory","report"]},{"url":"https://www.mediawiki.org/wiki/MediaWiki/","tags":["x_transferred","Product","web","report"]},{"url":"https://www.debian.org/security/2023/dsa-5520","tags":["x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00027.html","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3550","tags":["web","advisory"]},{"url":"https://fluidattacks.com/advisories/blondie"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY"},{"url":"https://www.mediawiki.org/wiki/MediaWiki"},{"url":"https://github.com/advisories/GHSA-4pqg-hr8r-h5cw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3550.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-3550","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0155.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33156","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-3550","tags":["report"]},{"url":"https://phabricator.wikimedia.org/T341565","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-3550","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-3550","title":"Stored XSS leads to privilege escalation in MediaWiki v1.40.0","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.\n\nTherefore, if the instance administrator allows XML file uploads,\n\na remote attacker with a low-privileged user account can use this\n\nexploit to become an administrator by sending a malicious link to\n\nthe instance administrator.","status":"published","published":"2023-09-25T15:20:27.351Z","modified":"2025-02-13T16:55:50.983Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:24.360381Z"}],"euvd":[{"id":"EUVD-2023-44206","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.\n\nTherefore, if the instance administrator allows XML file uploads,\n\na remote attacker with a low-privileged user account can use this\n\nexploit to become an administrator by sending a malicious link to\n\nthe instance administrator.","status":"published","published":"2023-09-25T15:20:27Z","modified":"2025-02-13T16:55:50Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T00:03:50.021705Z"}],"ghsa":[{"id":"GHSA-4pqg-hr8r-h5cw","title":"MediaWiki malicious XML upload leads to privilege escalation ","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files. Therefore, if the instance administrator allows XML file uploads, a remote attacker with a low-privileged user account can use this exploit to become an administrator by sending a malicious link to the instance administrator.","status":"published","published":"2023-09-25T18:30:50Z","modified":"2024-06-10T18:31:56Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:57:27.150795Z"}],"nvd":[{"id":"CVE-2023-3550","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.\n\nTherefore, if the instance administrator allows XML file uploads,\n\na remote attacker with a low-privileged user account can use this\n\nexploit to become an administrator by sending a malicious link to\n\nthe instance administrator.","status":"published","published":"2023-09-25T16:15:14.347Z","modified":"2026-06-17T06:14:19.59Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:31.699785Z"}],"osv":[{"id":"CVE-2023-3550","title":"Stored XSS leads to privilege escalation in MediaWiki v1.40.0","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.\n\nTherefore, if the instance administrator allows XML file uploads,\n\na remote attacker with a low-privileged user account can use this\n\nexploit to become an administrator by sending a malicious link to\n\nthe instance administrator.","status":"published","published":"2023-09-25T15:20:27.351Z","modified":"2026-10-28T02:30:40.337561524Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:32.510144Z"},{"id":"DEBIAN-CVE-2023-3550","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.  Therefore, if the instance administrator allows XML file uploads,  a remote attacker with a low-privileged user account can use this  exploit to become an administrator by sending a malicious link to  the instance administrator.","status":"published","published":"2023-09-25T16:15:14.347Z","modified":"2026-10-26T18:01:26.499325453Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:39.980321Z"},{"id":"UBUNTU-CVE-2023-3550","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files. Therefore, if the instance administrator allows XML file uploads, a remote attacker with a low-privileged user account can use this exploit to become an administrator by sending a malicious link to the instance administrator.","status":"published","published":"2023-09-25T16:15:00Z","modified":"2026-10-17T12:57:20.109255004Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:54:21.882004Z"},{"id":"BIT-mediawiki-2023-3550","title":"Stored XSS leads to privilege escalation in MediaWiki v1.40.0","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.\n\nTherefore, if the instance administrator allows XML file uploads,\n\na remote attacker with a low-privileged user account can use this\n\nexploit to become an administrator by sending a malicious link to\n\nthe instance administrator.","status":"published","published":"2024-03-06T11:01:36.392Z","modified":"2025-05-20T10:02:07.006Z","updated_at":"2026-11-02T15:28:33.072289Z"},{"id":"DLA-3671-1","title":"mediawiki - security update","status":"published","published":"2023-11-28T00:00:00Z","modified":"2026-03-09T01:18:19.236161Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"DSA-5520-1","title":"mediawiki - security update","status":"published","published":"2023-10-10T00:00:00Z","modified":"2026-03-09T02:09:26.142792Z","updated_at":"2026-11-02T15:46:17.892347Z"},{"id":"MGASA-2024-0155","title":"Updated mediawiki packages fix security vulnerabilities","description":"Mediawiki v1.40.0 does not validate namespaces used in XML files.\nTherefore, if the instance administrator allows XML file uploads, a\nremote attacker with a low-privileged user account can use this exploit\nto become an administrator by sending a malicious link to the instance\nadministrator. (CVE-2023-3550)\nAn issue was discovered in MediaWiki before 1.35.12, 1.36.x through\n1.39.x before 1.39.5, and 1.40.x before 1.40.1. There is XSS in\nyouhavenewmessagesmanyusers and youhavenewmessages i18n messages. This\nis related to MediaWiki:Youhavenewmessagesfromusers. (CVE-2023-45360)\nAn issue was discovered in DifferenceEngine.php in MediaWiki before\n1.35.12, 1.36.x through 1.39.x before 1.39.5, and 1.40.x before 1.40.1.\ndiff-multi-sameuser (aka \"X intermediate revisions by the same user not\nshown\") ignores username suppression. This is an information leak.\n(CVE-2023-45362)\nAn issue was discovered in ApiPageSet.php in MediaWiki before 1.35.12,\n1.36.x through 1.39.x before 1.39.5, and 1.40.x before 1.40.1. It allows\nattackers to cause a denial of service (unbounded loop and\nRequestTimeoutException) when querying pages redirected to other\nvariants with redirects and converttitles set. (CVE-2023-45363)\nAn issue was discovered in includes/page/Article.php in MediaWiki 1.36.x\nthrough 1.39.x before 1.39.5 and 1.40.x before 1.40.1. Deleted revision\nexistence is leaked due to incorrect permissions being checked. This\nreveals that a given revision ID belonged to the given page title, and\nits timestamp, both of which are not supposed to be public information.\n(CVE-2023-45364)\nAn issue was discovered in MediaWiki before 1.35.14, 1.36.x through\n1.39.x before 1.39.6, and 1.40.x before 1.40.2. In\nincludes/logging/RightsLogFormatter.php, group-*-member messages can\nresult in XSS on Special:log/rights. (CVE-2023-51704)\n","status":"published","published":"2024-04-30T22:25:14Z","modified":"2026-04-16T04:43:19.540034312Z","updated_at":"2026-11-02T15:49:42.684501Z"}]}}
