{"id":"CVE-2023-51704","aliases":["BIT-mediawiki-2023-51704","DEBIAN-CVE-2023-51704","DLA-3796-1","DLA-3896-1","EUVD-2023-56401","GHSA-pmh9-hwq5-vvpj","MGASA-2024-0155","UBUNTU-CVE-2023-51704"],"status":"published","title":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1...","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00681,"percentile":0.52861,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-12-22T00:00:00Z","modified":"2026-10-28T02:30:51Z","fixes":[{"ecosystem":"Bitnami","package":"mediawiki","fixed_in":["1.35.14","1.39.6","1.40.2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mediawiki","fixed_in":["1:1.39.7-1~deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mediawiki","fixed_in":["1:1.39.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mediawiki","fixed_in":["1:1.39.6-1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"mediawiki","fixed_in":["1:1.35.13-1+deb11u3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"mediawiki","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.35.14"},{"introduced":"1.36.0"},{"fixed":"1.39.6"},{"introduced":"1.40.0"},{"fixed":"1.40.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.39.7-1~deb12u1"}]}],"versions":["1:1.39.2-1","1:1.39.4-1","1:1.39.4-1~deb12u1","1:1.39.4-2","1:1.39.5-1","1:1.39.5-1~deb12u1","1:1.39.6-1"]},{"source":"osv","ecosystem":"Debian:13","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.39.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.39.6-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.31.16-1+deb10u8"}]}],"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+deb10u7","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":2},{"source":"osv","ecosystem":"Debian:11","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.35.13-1+deb11u3"}]}],"versions":["1:1.35.11-1~deb11u1","1:1.35.13-1+deb11u2","1:1.35.13-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"]},{"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"]}],"products":[{"vendor":"mediawiki","product":"mediawiki"}],"references":[{"url":"https://phabricator.wikimedia.org/T347726","tags":["x_transferred","Exploit","Patch","Vendor Advisory","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00018.html","tags":["mailing-list","x_transferred","web","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/","tags":["vendor-advisory","x_transferred","web","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00039.html","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51704","tags":["web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY"},{"url":"https://github.com/advisories/GHSA-pmh9-hwq5-vvpj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51704.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-51704","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-51704","tags":["report"]},{"url":"https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/TDBUBCCOQJUT4SCHJNPHKQNPBUUETY52/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-51704","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-51704","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2023-12-22T00:00:00Z","modified":"2025-11-04T17:13:41.024Z","updated_at":"2026-11-02T14:35:17.48054Z"}],"euvd":[{"id":"EUVD-2023-56401","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2023-12-22T00:00:00Z","modified":"2025-11-04T17:13:41Z","updated_at":"2026-11-02T19:49:28.381167Z"}],"ghsa":[{"id":"GHSA-pmh9-hwq5-vvpj","title":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1...","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2023-12-22T03:30:33Z","modified":"2025-11-04T18:31:48Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:04:34.447716Z"}],"nvd":[{"id":"CVE-2023-51704","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2023-12-22T02:15:42.957Z","modified":"2026-06-17T06:41:30.297Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:57.117371Z"}],"osv":[{"id":"DEBIAN-CVE-2023-51704","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2023-12-22T02:15:42.957Z","modified":"2026-10-26T18:01:54.752714952Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:40.586408Z"},{"id":"UBUNTU-CVE-2023-51704","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2023-12-22T02:15:00Z","modified":"2026-05-27T10:17:15.41233555Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:23.935133Z"},{"id":"BIT-mediawiki-2023-51704","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2024-03-06T10:57:11.883Z","modified":"2025-04-03T14:40:37.652Z","updated_at":"2026-11-02T15:28:33.072289Z"},{"id":"CVE-2023-51704","description":"An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.","status":"published","published":"2023-12-22T00:00:00Z","modified":"2026-10-28T02:30:51.853391689Z","updated_at":"2026-11-02T15:44:35.245372Z"},{"id":"DLA-3796-1","title":"mediawiki - security update","status":"published","published":"2024-04-27T00:00:00Z","modified":"2026-03-09T01:22:51.593113Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"DLA-3896-1","title":"mediawiki - security update","status":"published","published":"2024-09-26T00:00:00Z","modified":"2026-03-09T01:22:11.481977Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"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"}]}}
