{"id":"CVE-2021-42043","aliases":["BIT-mediawiki-2021-42043","EUVD-2021-29031","GHSA-mfc6-v6cx-7q3p"],"status":"published","title":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through...","description":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.","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-12","score":0.0075,"percentile":0.55462,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-10-06T20:28:20Z","modified":"2026-10-24T10:30:41Z","fixes":[{"ecosystem":"Bitnami","package":"mediawiki","fixed_in":["1.36.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"mediawiki","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.36.3"}]}]}],"products":[{"vendor":"mediawiki","product":"mediawiki"}],"references":[{"url":"https://phabricator.wikimedia.org/T291600","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Vendor Advisory","web","fix"]},{"url":"https://gerrit.wikimedia.org/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","web","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42043","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mfc6-v6cx-7q3p"}],"sources":{"cve":[{"id":"CVE-2021-42043","description":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.","status":"published","published":"2021-10-06T20:28:20Z","modified":"2024-08-04T03:22:25.656Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29031","description":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.","status":"published","published":"2021-10-06T20:28:20Z","modified":"2024-08-04T03:22:25Z","updated_at":"2026-11-03T03:24:16.784119Z"}],"ghsa":[{"id":"GHSA-mfc6-v6cx-7q3p","title":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through...","description":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.","status":"published","published":"2022-05-24T19:16:38Z","modified":"2023-01-30T05:02:33Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:39.888016Z"}],"nvd":[{"id":"CVE-2021-42043","description":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.","status":"published","published":"2021-10-06T21:15:07.337Z","modified":"2026-06-17T04:09:12.663Z","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"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:59.314106Z"}],"osv":[{"id":"CVE-2021-42043","description":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.","status":"published","published":"2021-10-06T21:15:07.337Z","modified":"2026-10-24T10:30:41.133898381Z","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:44:21.557945Z"},{"id":"BIT-mediawiki-2021-42043","description":"An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.","status":"published","published":"2024-03-06T11:10:30.987Z","modified":"2025-04-03T14:40:37.652Z","updated_at":"2026-11-02T15:28:33.072289Z"}]}}
