{"id":"CVE-2021-42042","details":"An issue was discovered in SpecialEditGrowthConfig in the GrowthExperiments extension in MediaWiki through 1.36.2. The growthexperiments-edit-config-error-invalid-title MediaWiki message was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript.","aliases":["BIT-mediawiki-2021-42042"],"modified":"2026-04-12T02:01:34.799138Z","published":"2021-10-06T21:15:07.297Z","references":[{"type":"FIX","url":"https://gerrit.wikimedia.org/r/q/Ibeb13d032ca044af53f6b2334e27b6b97b6f4e9f"},{"type":"FIX","url":"https://phabricator.wikimedia.org/T290692"}],"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_FIELD"}}],"versions":["1.1.0","1.3.0beta1","1.36.0","1.36.0-rc.0","1.36.1","1.36.2","1.5.0alpha1","1.5.0alpha2","1.5.0beta1","1.5.0beta2","1.5.0beta3","1.5.0beta4","1.6.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-42042.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}