{"id":"CVE-2021-42046","details":"An issue was discovered in the GlobalWatchlist extension in MediaWiki through 1.36.2. The rev-deleted-user and ntimes messages were not properly escaped and allowed for users to inject HTML and JavaScript.","aliases":["BIT-mediawiki-2021-42046"],"modified":"2026-07-09T00:37:24.787441Z","published":"2022-09-29T03:15:14.597Z","references":[{"type":"ADVISORY","url":"https://phabricator.wikimedia.org/T286385"},{"type":"FIX","url":"https://gerrit.wikimedia.org/r/q/Ib7f9b009730fe0df283cec1169f84c7a83a58b1d"},{"type":"FIX","url":"https://gerrit.wikimedia.org/r/q/Id2204fb5afe591d63764466de35ac0aaa5999983"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wikimedia/mediawiki","events":[{"introduced":"0"},{"last_affected":"f65f9d6971578b301ef9fc915a729e6a13266a5e"}],"database_specific":{"cpe":"cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.36.2"}],"source":"CPE_RANGE"}}],"versions":["1.36.2","1.36.1","1.36.0","1.36.0-rc.0","test-hashar-for-ci","1.6.0","1.5.0beta4","1.5.0beta3","1.5.0beta2","1.5.0beta1","1.5.0alpha2","1.5.0alpha1","1.3.0beta1","1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42046.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}